fix: test case

This commit is contained in:
chenos 2024-07-25 21:31:17 +08:00 committed by mytharcher
parent 56cd233694
commit 9cc5a3699b

View File

@ -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();
}); });
}); });