Skip to content

Commit

Permalink
yo
Browse files Browse the repository at this point in the history
  • Loading branch information
Zizzamia committed Aug 14, 2024
1 parent 6d9d7bb commit b35ddf8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/transaction/hooks/useWriteContracts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('useWriteContracts', () => {
expect(mockSetLifeCycleStatus).toHaveBeenCalledWith({
statusName: 'error',
statusData: {
code: 'TmUWCh01',
code: 'TmUWCSh01',
error: 'Something went wrong. Please try again.',
message: 'Something went wrong. Please try again.',
},
Expand Down Expand Up @@ -75,7 +75,7 @@ describe('useWriteContracts', () => {
expect(mockSetLifeCycleStatus).toHaveBeenCalledWith({
statusName: 'error',
statusData: {
code: 'TmUWCh01',
code: 'TmUWCSh01',
error: 'Request denied.',
message: 'Request denied.',
},
Expand Down Expand Up @@ -123,7 +123,7 @@ describe('useWriteContracts', () => {
expect(mockSetLifeCycleStatus).toHaveBeenCalledWith({
statusName: 'error',
statusData: {
code: 'TmUWCh02',
code: 'TmUWCSh02',
error: JSON.stringify(uncaughtError),
message: 'Something went wrong. Please try again.',
},
Expand Down

0 comments on commit b35ddf8

Please sign in to comment.