debug: make tests pass

This commit is contained in:
ifedapoolarewaju 2020-01-20 15:10:37 +01:00
parent aeb3d12d7f
commit a54274f645
No known key found for this signature in database
GPG key ID: FF050AA4EEBCE82E

View file

@ -98,7 +98,7 @@ describe('test authentication', () => {
.expect(200)
.expect((res) => {
const authToken = res.header['set-cookie'][0].split(';')[0].split('uppyAuthToken--google=')[1]
expect(authToken).toEqual(token)
expect(decodeURIComponent(authToken)).toEqual(token)
const body = `
<!DOCTYPE html>
<html>