mirror of
https://github.com/immich-app/immich.git
synced 2025-03-11 02:23:09 -05:00
move statement to correct test
This commit is contained in:
parent
5c50c3477c
commit
e7f2c25a1d
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,6 @@ describe(LibraryService.name, () => {
|
|||
|
||||
it('should not initialize watcher when watching is disabled', async () => {
|
||||
configMock.load.mockResolvedValue(systemConfigStub.libraryWatchEnabled);
|
||||
databaseMock.tryLock.mockResolvedValue(false);
|
||||
|
||||
await sut.init();
|
||||
|
||||
|
@ -148,6 +147,7 @@ describe(LibraryService.name, () => {
|
|||
|
||||
it('should not initialize watcher when lock is taken', async () => {
|
||||
configMock.load.mockResolvedValue(systemConfigStub.libraryWatchDisabled);
|
||||
databaseMock.tryLock.mockResolvedValue(false);
|
||||
|
||||
await sut.init();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue