mirror of
https://github.com/immich-app/immich.git
synced 2026-03-01 18:19:10 +03:00
refactor: event names (#19945)
This commit is contained in:
@@ -412,7 +412,7 @@ describe(SystemConfigService.name, () => {
|
||||
mocks.systemMetadata.get.mockResolvedValue(partialConfig);
|
||||
await expect(sut.updateSystemConfig(updatedConfig)).resolves.toEqual(updatedConfig);
|
||||
expect(mocks.event.emit).toHaveBeenCalledWith(
|
||||
'config.update',
|
||||
'ConfigUpdate',
|
||||
expect.objectContaining({ oldConfig: expect.any(Object), newConfig: updatedConfig }),
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user