mirror of
https://git.um-react.app/um/um-react.git
synced 2026-10-28 17:33:01 +00:00
refactor: major package updates
This commit is contained in:
@@ -17,7 +17,7 @@ test('should be able to forward request to worker client bus', async () => {
|
||||
const bus = new WorkerClientBus<DECRYPTION_WORKER_ACTION_NAME>(null as never);
|
||||
vi.spyOn(bus, 'request').mockImplementation(
|
||||
async (actionName: DECRYPTION_WORKER_ACTION_NAME, payload: unknown): Promise<unknown> => {
|
||||
return { actionName, payload };
|
||||
return Promise.resolve({ actionName, payload });
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user