Skip to content

Commit

Permalink
fix: koa check
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc committed Aug 22, 2024
1 parent 0fca1b3 commit 3994c51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/koa/with-emailpassword/test/basic.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ describe("SuperTokens Example Basic tests", function () {
{ name: "password", value: testPW },
]);
await submitForm(page);
const callApiBtn = await page.waitForSelector(".sessionButton");
const userList = await SuperTokensNode.listUsersByAccountInfo("public", { email });
const user = userList[0];
const callApiBtn = await page.waitForSelector(".sessionButton");
let setAlertContent;
let alertContent = new Promise((res) => (setAlertContent = res));
page.on("dialog", async (dialog) => {
Expand Down

0 comments on commit 3994c51

Please sign in to comment.