fix unit tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-02-03 13:39:45 -05:00
1 parent 2bbdd168d6
commit 31534317d8
1 file changed
+2
@@ -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 () => {