diff --git a/lib/build/supertokens.js b/lib/build/supertokens.js index 17e4b89dd..5e909deac 100644 --- a/lib/build/supertokens.js +++ b/lib/build/supertokens.js @@ -401,6 +401,7 @@ class SuperTokens { throw new Error("calling testing function in non testing env"); } querier_1.Querier.reset(); + recipe_1.default.reset(); SuperTokens.instance = undefined; } static getInstanceOrThrowError() { diff --git a/lib/ts/supertokens.ts b/lib/ts/supertokens.ts index 201508ca8..86f014c52 100644 --- a/lib/ts/supertokens.ts +++ b/lib/ts/supertokens.ts @@ -140,6 +140,7 @@ export default class SuperTokens { throw new Error("calling testing function in non testing env"); } Querier.reset(); + DashboardRecipe.reset(); SuperTokens.instance = undefined; }