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:
parent
1a837a094b
commit
a67e1617ee
@ -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()
|
||||
);
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user