1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

fix test failure

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-04-01 17:09:33 -04:00
parent 1a837a094b
commit a67e1617ee

View File

@ -46,11 +46,7 @@ jest.mock("../../../../extensions/extension-loader", () => ({
}
}));
jest.mock("../../notifications", () => ({
ok: jest.fn(),
error: jest.fn(),
info: jest.fn()
}));
jest.mock("../../notifications");
describe("Extensions", () => {
beforeEach(() => {
@ -122,7 +118,7 @@ describe("Extensions", () => {
extensionDiscovery.isLoaded = true;
waitFor(() =>
waitFor(() =>
expect(container.querySelector(".Spinner")).not.toBeInTheDocument()
);
});