mirror of
https://github.com/immich-app/immich.git
synced 2026-03-06 18:17:27 +03:00
refactor: event names (#19945)
This commit is contained in:
@@ -64,7 +64,7 @@ describe(NotificationService.name, () => {
|
||||
const update = { oldConfig: defaults, newConfig: defaults };
|
||||
expect(sut.onConfigUpdate(update)).toBeUndefined();
|
||||
expect(mocks.event.clientBroadcast).toHaveBeenCalledWith('on_config_update');
|
||||
expect(mocks.event.serverSend).toHaveBeenCalledWith('config.update', update);
|
||||
expect(mocks.event.serverSend).toHaveBeenCalledWith('ConfigUpdate', update);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user