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", () => ({
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()
);
});