mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 10:09:21 +00:00
fix: test case
This commit is contained in:
parent
56cd233694
commit
9cc5a3699b
@ -89,7 +89,6 @@ describe('sync-message-manager', () => {
|
|||||||
await app2.pm.get(MyPlugin).sendSyncMessage('message2');
|
await app2.pm.get(MyPlugin).sendSyncMessage('message2');
|
||||||
expect(mockListener).toBeCalledTimes(2);
|
expect(mockListener).toBeCalledTimes(2);
|
||||||
expect(mockListener).toHaveBeenCalledWith('message2');
|
expect(mockListener).toHaveBeenCalledWith('message2');
|
||||||
await app1.destroy();
|
await cluster.destroy();
|
||||||
await app2.destroy();
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user