Skip to content

Commit

Permalink
test: fix broken otp test
Browse files Browse the repository at this point in the history
  • Loading branch information
jagregory committed Apr 15, 2022
1 parent e2053fe commit c089cf1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe(
const ds = await DataStoreFactory().create(TestContext, userPoolId, {});
const storedUser = (await ds.get(TestContext, ["Users", "abc"])) as User;

expect(storedUser.AttributeVerificationCode).toMatch(/^\d{4}$/);
expect(storedUser.AttributeVerificationCode).toMatch(/^\d{6}$/);
});
})
);

0 comments on commit c089cf1

Please sign in to comment.