Browse Source

fix unit tests

Olivier Massot 1 year ago
parent
commit
3b18ac4a8e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tests/units/services/data/apiRequestService.test.ts

+ 4 - 0
tests/units/services/data/apiRequestService.test.ts

@@ -38,6 +38,7 @@ describe('get', () => {
       'https://myapi.com/api/item',
       null,
       { a: 1 },
+      null,
     )
   })
 })
@@ -60,6 +61,7 @@ describe('post', () => {
       'https://myapi.com/api/item',
       'request_body',
       { a: 1 },
+      null,
     )
   })
 })
@@ -82,6 +84,7 @@ describe('put', () => {
       'https://myapi.com/api/item',
       'request_body',
       { a: 1 },
+      null,
     )
   })
 })
@@ -103,6 +106,7 @@ describe('delete', () => {
       'https://myapi.com/api/item',
       null,
       { a: 1 },
+      null,
     )
   })
 })