Skip to content

Commit 4571189

Browse files
committed
test: update unit tests to match new web-js version
1 parent 2512508 commit 4571189

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/unit/recipe/emailpassword/emailPassword.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ describe("EmailPassword", function () {
604604
},
605605
});
606606
authReact(SuperTokens.getInstanceOrThrow().appInfo, false);
607-
webJS(SuperTokens.getInstanceOrThrow().appInfo, undefined, false);
607+
webJS(SuperTokens.getInstanceOrThrow().appInfo, undefined, false, []);
608608

609609
try {
610610
await EmailPasswordIndex.submitNewPassword({

test/unit/recipe/thirdparty/thirdParty.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ describe("ThirdParty", function () {
378378
},
379379
});
380380
authReact(SuperTokens.getInstanceOrThrow().appInfo, false);
381-
webJS(SuperTokens.getInstanceOrThrow().appInfo, undefined, false);
381+
webJS(SuperTokens.getInstanceOrThrow().appInfo, undefined, false, []);
382382

383383
try {
384384
await ThirdPartyIndex.redirectToThirdPartyLogin({
@@ -427,7 +427,7 @@ describe("ThirdParty", function () {
427427
});
428428

429429
authReact(SuperTokens.getInstanceOrThrow().appInfo, false);
430-
webJS(SuperTokens.getInstanceOrThrow().appInfo, undefined, false);
430+
webJS(SuperTokens.getInstanceOrThrow().appInfo, undefined, false, []);
431431

432432
try {
433433
await ThirdPartyIndex.signInAndUp({

0 commit comments

Comments
 (0)