Sfoglia il codice sorgente

chore: use transloadit.com in tests

ifedapoolarewaju 5 anni fa
parent
commit
d50dd2a324

+ 2 - 2
packages/@uppy/companion/test/__tests__/header-blacklist.js

@@ -5,7 +5,7 @@ const headerSanitize = require('../../src/server/header-blacklist')
 describe('Header black-list testing', () => {
   test('All headers invalid by name', () => {
     const headers = headerSanitize({
-      origin: 'http://www.google.com',
+      origin: 'http://www.transloadit.com',
       'Accept-Charset': '...',
       'content-Length': 1234
     })
@@ -40,7 +40,7 @@ describe('Header black-list testing', () => {
       'Content-Type': 'application/json',
       'Content-Length': 1234,
       Expires: 'Wed, 21 Oct 2015 07:28:00 GMT',
-      Origin: 'http://www.google.com'
+      Origin: 'http://www.transloadit.com'
     })
     expect(Object.keys(headers)).toHaveLength(3)
     expect(headers).toHaveProperty('Authorization')