mirror of
https://github.com/immich-app/immich.git
synced 2025-12-23 01:11:36 +03:00
refactor(server): event emits (#10648)
* refactor(server): event emits * refactor: change default priority to 0
This commit is contained in:
@@ -20,9 +20,9 @@ describe(StorageService.name, () => {
|
||||
expect(sut).toBeDefined();
|
||||
});
|
||||
|
||||
describe('init', () => {
|
||||
describe('onBootstrapEvent', () => {
|
||||
it('should create the library folder on initialization', () => {
|
||||
sut.init();
|
||||
sut.onBootstrapEvent();
|
||||
expect(storageMock.mkdirSync).toHaveBeenCalledWith('upload/library');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user