Skip to content

Commit

Permalink
🔧 fix(emailOtp.test.ts): use a random test email instead of a hardcod…
Browse files Browse the repository at this point in the history
…ed email to improve test reliability and maintainability
  • Loading branch information
sam-corbado committed Jan 17, 2024
1 parent b4677c0 commit b511ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/services/emailOtp.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('EmailOtp class', () => {
it('should send email code and return EmailCodeSendRsp', async () => {
const emailOTP = new EmailOTP(axiosInstance);
const req: EmailCodeSendReq = {
email: '[email protected]',
email: Utils.createRandomTestEmail(),
create: true,
};

Expand Down

0 comments on commit b511ec8

Please sign in to comment.