mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix timers usage
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
749a5b734e
commit
aa23874aac
@ -34,7 +34,7 @@ describe("add custom helm repository in preferences", () => {
|
|||||||
let getActiveHelmRepositoriesMock: AsyncFnMock<() => AsyncResult<HelmRepo[]>>;
|
let getActiveHelmRepositoriesMock: AsyncFnMock<() => AsyncResult<HelmRepo[]>>;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
jest.useFakeTimers("modern");
|
jest.useFakeTimers();
|
||||||
|
|
||||||
applicationBuilder = getApplicationBuilder();
|
applicationBuilder = getApplicationBuilder();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user