Improve documentation of Singleton functions, change to createInstance (#2585)

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-04-22 10:05:29 +03:00
1 parent 33ca6c9c17
commit b63fdfaff3
15 files changed
+90 -68

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ describe("kube auth proxy tests", () => {
beforeEach(() => {
jest.clearAllMocks();
UserStore.resetInstance();
UserStore.getInstanceOrCreate();
UserStore.createInstance();
});
it("calling exit multiple times shouldn't throw", async () => {