Skip to content

Commit

Permalink
fix(test): fix integration tests
Browse files Browse the repository at this point in the history
fix integration tests
  • Loading branch information
simeng-li committed Jul 1, 2024
1 parent f1c9cee commit a56d0e4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { deleteUser } from '#src/api/admin-user.js';
import { setEmailConnector, setSmsConnector } from '#src/helpers/connector.js';
import { signInWithVerificationCode } from '#src/helpers/experience/index.js';
import { enableAllVerificationCodeSignInMethods } from '#src/helpers/sign-in-experience.js';
import { generateNewUser } from '#src/helpers/user.js';
Expand All @@ -13,6 +14,7 @@ const identifiersTypeToUserProfile = Object.freeze({

devFeatureTest.describe('Sign-in with verification code happy path', () => {
beforeAll(async () => {
await Promise.all([setEmailConnector(), setSmsConnector()]);
await enableAllVerificationCodeSignInMethods();
});

Expand Down

0 comments on commit a56d0e4

Please sign in to comment.