From b86117e3735b2d8b2f85ffdb68547eb9738b9f77 Mon Sep 17 00:00:00 2001 From: Jose Buitron Date: Thu, 5 Oct 2023 12:44:45 -0500 Subject: [PATCH] fix: Added response error context test --- src/terrasoApi/api.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/terrasoApi/api.test.ts b/src/terrasoApi/api.test.ts index 8d14653b..404bf84c 100644 --- a/src/terrasoApi/api.test.ts +++ b/src/terrasoApi/api.test.ts @@ -86,6 +86,7 @@ test('Terraso API: mutation errors', async () => { ]), }, ], + extraData: 'test', }, }, }), @@ -115,6 +116,9 @@ test('Terraso API: mutation errors', async () => { body: { variables: {}, }, + response: { + extraData: 'test', + }, code: 'unique', context: '', field: 'name',