Skip to content

Commit

Permalink
Bump axios from 0.19.2 to 0.20.0
Browse files Browse the repository at this point in the history
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.20.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](axios/axios@v0.19.2...v0.20.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
dependabot-preview[bot] authored and ChristophWurst committed Aug 31, 2020
1 parent b01a44e commit f6282df
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 f6282df

Please sign in to comment.