refactor: server emit events (#11780)

This commit is contained in:
Jason Rasmussen
2024-08-15 16:12:41 -04:00
committed by GitHub
parent 32c05ea950
commit 433c7ab01d
27 changed files with 222 additions and 182 deletions
+2 -2
View File
@@ -20,9 +20,9 @@ describe(StorageService.name, () => {
expect(sut).toBeDefined();
});
describe('onBootstrapEvent', () => {
describe('onBootstrap', () => {
it('should create the library folder on initialization', () => {
sut.onBootstrapEvent();
sut.onBootstrap();
expect(storageMock.mkdirSync).toHaveBeenCalledWith('upload/library');
});
});