Skip to content

Commit

Permalink
fix: fix integration tests
Browse files Browse the repository at this point in the history
fix integration tests
  • Loading branch information
simeng-li committed Jul 22, 2024
1 parent a6a128b commit 1941eba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { InteractionEvent, SignInIdentifier } from '@logto/schemas';

import { deleteUser, getUser } from '#src/api/admin-user.js';
import { initExperienceClient, logoutClient, processSession } from '#src/helpers/client.js';
import { setEmailConnector } from '#src/helpers/connector.js';
import { setEmailConnector, setSmsConnector } from '#src/helpers/connector.js';
import {
identifyUserWithUsernamePassword,
signInWithPassword,
Expand All @@ -28,7 +28,7 @@ const identifiersTypeToUserProfile = Object.freeze({
devFeatureTest.describe('sign-in with password verification happy path', () => {
beforeAll(async () => {
await enableAllPasswordSignInMethods();
await setEmailConnector();
await Promise.all([setEmailConnector(), setSmsConnector()]);
});

it.each(Object.values(SignInIdentifier))(
Expand Down

0 comments on commit 1941eba

Please sign in to comment.