mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
Remove runOnlyPendingTimers (#13581)
This commit is contained in:
@@ -361,8 +361,6 @@ describe("ConfigService", () => {
|
|||||||
|
|
||||||
const configs = await firstValueFrom(sut.serverConfig$.pipe(bufferCount(2)));
|
const configs = await firstValueFrom(sut.serverConfig$.pipe(bufferCount(2)));
|
||||||
|
|
||||||
await jest.runOnlyPendingTimersAsync();
|
|
||||||
|
|
||||||
expect(configs[0].gitHash).toBe("existing-data");
|
expect(configs[0].gitHash).toBe("existing-data");
|
||||||
expect(configs[1].gitHash).toBe("slow-response");
|
expect(configs[1].gitHash).toBe("slow-response");
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user