Skip to content

Commit

Permalink
Merge pull request #166 from nextcloud/dependabot/npm_and_yarn/axios-…
Browse files Browse the repository at this point in the history
…0.20.0
  • Loading branch information
dependabot-preview[bot] committed Aug 31, 2020
2 parents b01a44e + f6282df commit e7c71a3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 22 deletions.
27 changes: 7 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@babel/preset-env": "^7.9.0",
"@babel/preset-typescript": "^7.9.0",
"@nextcloud/auth": "^1.2.2",
"axios": "^0.19.2",
"axios": "^0.20.0",
"core-js": "^3.6.4"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import axios from '../lib/index'
import { emit } from '@nextcloud/event-bus'

it('has garbled token in test by default', () => {
expect(axios.defaults.headers.requesttoken).toStrictEqual({})
expect(axios.defaults.headers.requesttoken).toBeNull()
})

it('has the latest request token', () => {
Expand Down

0 comments on commit e7c71a3

Please sign in to comment.