Skip to content

Commit

Permalink
EDSC-3915: Update axios version to version 1.6.1 (#1694)
Browse files Browse the repository at this point in the history
* Update axios version

* Remove trailing comma.

* Adding a comment note.
  • Loading branch information
Bccorb authored Nov 13, 2023
1 parent d066b39 commit e3a9da6
Show file tree
Hide file tree
Showing 5 changed files with 120 additions and 106 deletions.
4 changes: 3 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ module.exports = {
// Force module uuid to resolve with the CJS entry point, because Jest does not support package.json.exports. See https://github.com/uuidjs/uuid/issues/451
uuid: require.resolve('uuid'),
'^nanoid(/(.*)|$)': 'nanoid$1',
'react-leaflet': '<rootDir>/static/src/js/util/mocks/reactLeafletMock.js'
'react-leaflet': '<rootDir>/static/src/js/util/mocks/reactLeafletMock.js',
// After the update to 1.x the CJS changed import method. Adding a module mapper to resolve issues. See https://stackoverflow.com/a/74079349
'^axios$': require.resolve('axios')
},
coveragePathIgnorePatterns: [
'package.json',
Expand Down
214 changes: 113 additions & 101 deletions package-lock.json

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

Loading

0 comments on commit e3a9da6

Please sign in to comment.