mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix unit tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
2bbdd168d6
commit
31534317d8
@ -24,6 +24,8 @@ describe("protocol router tests", () => {
|
|||||||
(extensionLoader as any).instances.clear();
|
(extensionLoader as any).instances.clear();
|
||||||
LensProtocolRouterMain.resetInstance();
|
LensProtocolRouterMain.resetInstance();
|
||||||
lpr = LensProtocolRouterMain.getInstance<LensProtocolRouterMain>();
|
lpr = LensProtocolRouterMain.getInstance<LensProtocolRouterMain>();
|
||||||
|
lpr.extensionsLoaded = true;
|
||||||
|
lpr.rendererLoaded = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should throw on non-lens URLS", async () => {
|
it("should throw on non-lens URLS", async () => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user