Skip to content

Commit

Permalink
10466: update interactor test
Browse files Browse the repository at this point in the history
  • Loading branch information
akuny committed Sep 24, 2024
1 parent 7974b9d commit 6bd433d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { validateUpdateUserEmailInteractor } from './validateUpdateUserEmailInte
describe('validateUpdateUserEmailInteractor', () => {
it('should NOT return validation errors when the updated email request is valid', () => {
const errors = validateUpdateUserEmailInteractor({
updateUserEmail: {
updateUserEmailForm: {
confirmEmail: '[email protected]',
email: '[email protected]',
},
Expand All @@ -14,7 +14,7 @@ describe('validateUpdateUserEmailInteractor', () => {

it('should return validation errors when the updated user email form is missing data', () => {
const errors = validateUpdateUserEmailInteractor({
updateUserEmail: {
updateUserEmailForm: {
confirmEmail: undefined, // this is a required property
email: 'abc', // not a valid email
} as any,
Expand Down

0 comments on commit 6bd433d

Please sign in to comment.