mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
spelling: compliant
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
parent
306e844789
commit
11fe6ee96f
@ -47,7 +47,7 @@ describe("<BottomBar />", () => {
|
|||||||
expect(container).toBeInstanceOf(HTMLElement);
|
expect(container).toBeInstanceOf(HTMLElement);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("renders w/o errors when .getItems() returns unexpected (not type complient) data", async () => {
|
it("renders w/o errors when .getItems() returns unexpected (not type compliant) data", async () => {
|
||||||
StatusBarRegistry.getInstance().getItems = jest.fn().mockImplementationOnce(() => undefined);
|
StatusBarRegistry.getInstance().getItems = jest.fn().mockImplementationOnce(() => undefined);
|
||||||
expect(() => render(<BottomBar />)).not.toThrow();
|
expect(() => render(<BottomBar />)).not.toThrow();
|
||||||
StatusBarRegistry.getInstance().getItems = jest.fn().mockImplementationOnce(() => "hello");
|
StatusBarRegistry.getInstance().getItems = jest.fn().mockImplementationOnce(() => "hello");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user