fix test failure

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-04-01 17:09:33 -04:00
1 parent 1a837a094b
commit a67e1617ee
1 file changed
+2 -6
@@ -46,11 +46,7 @@ jest.mock("../../../../extensions/extension-loader", () => ({
} }
})); }));
jest.mock("../../notifications", () => ({ jest.mock("../../notifications");
ok: jest.fn(),
error: jest.fn(),
info: jest.fn()
}));
describe("Extensions", () => { describe("Extensions", () => {
beforeEach(() => { beforeEach(() => {
@@ -122,7 +118,7 @@ describe("Extensions", () => {
extensionDiscovery.isLoaded = true; extensionDiscovery.isLoaded = true;
waitFor(() => waitFor(() =>
expect(container.querySelector(".Spinner")).not.toBeInTheDocument() expect(container.querySelector(".Spinner")).not.toBeInTheDocument()
); );
}); });