mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-18 02:41:15 +02:00
[PM-6426] Adding jest tests for the base TaskSchedulerService class
This commit is contained in:
parent
5ce4bff8c6
commit
268c9a4988
@ -51,6 +51,7 @@ describe("BrowserTaskSchedulerService", () => {
|
|||||||
getGlobal: jest.fn(() =>
|
getGlobal: jest.fn(() =>
|
||||||
mock<GlobalState<any>>({
|
mock<GlobalState<any>>({
|
||||||
state$: mock<Observable<any>>(),
|
state$: mock<Observable<any>>(),
|
||||||
|
update: jest.fn((callback) => callback([], {} as any)),
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user