ifedapoolarewaju преди 5 години
родител
ревизия
9355c1e313
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      packages/@uppy/companion/test/__tests__/http-agent.js

+ 1 - 1
packages/@uppy/companion/test/__tests__/http-agent.js

@@ -72,7 +72,7 @@ describe('test protected request Agent', () => {
     }
 
     request(options, (err) => {
-      expect(err).toBeTruthy(Error)
+      expect(err).toBeTruthy()
       expect(err.message.startsWith(FORBIDDEN_IP_ADDRESS)).toEqual(true)
       done()
     })