Skip to content

Commit

Permalink
Update Settings.spec.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
bandhan-majumder authored Feb 1, 2025
1 parent d6023de commit e52c489
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions src/screens/UserPortal/Settings/Settings.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,21 +129,23 @@ const updateMock = [
request: {
query: UPDATE_USER_MUTATION,
variables: {
firstName: 'John',
lastName: 'randomUpdated',
createdAt: '2021-03-01T00:00:00.000Z',
gender: 'MALE',
email: 'johndoe@gmail.com',
phoneNumber: '+174567890',
birthDate: '2024-03-01',
grade: 'GRADUATE',
empStatus: 'PART_TIME',
maritalStatus: 'SINGLE',
address: 'random',
state: 'random',
country: 'IN',
eventsAttended: [{ _id: 'event1' }, { _id: 'event2' }],
image: '',
data: {
firstName: 'John',
lastName: 'randomUpdated',
createdAt: '2021-03-01T00:00:00.000Z',
gender: 'MALE',
email: 'johndoe@gmail.com',
phoneNumber: '+174567890',
birthDate: '2024-03-01',
grade: 'GRADUATE',
empStatus: 'PART_TIME',
maritalStatus: 'SINGLE',
address: 'random',
state: 'random',
country: 'IN',
eventsAttended: [{ _id: 'event1' }, { _id: 'event2' }],
image: '',
},
},
},
result: {
Expand Down

0 comments on commit e52c489

Please sign in to comment.