浏览代码

fix unit tests

Olivier Massot 1 年之前
父节点
当前提交
3b18ac4a8e
共有 1 个文件被更改,包括 4 次插入0 次删除
  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,
     )
   })
 })