Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it("should reset the injector", () => {
const injectionKey = "key";
TestContext.injector.set(injectionKey, new Provider("something"));
TestContext.reset();
expect((TestContext as any)._injector).eq(null);
});
});