Skip to content

Commit

Permalink
fix: Added response error context test
Browse files Browse the repository at this point in the history
  • Loading branch information
josebui committed Oct 5, 2023
1 parent ddf024c commit b86117e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/terrasoApi/api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ test('Terraso API: mutation errors', async () => {
]),
},
],
extraData: 'test',
},
},
}),
Expand Down Expand Up @@ -115,6 +116,9 @@ test('Terraso API: mutation errors', async () => {
body: {
variables: {},
},
response: {
extraData: 'test',
},
code: 'unique',
context: '',
field: 'name',
Expand Down

0 comments on commit b86117e

Please sign in to comment.