Ver Fonte

fix unit tests

Olivier Massot há 1 ano atrás
pai
commit
3b18ac4a8e
1 ficheiros alterados com 4 adições e 0 exclusões
  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,
     )
   })
 })