Skip to content

Commit

Permalink
chore(deps): update Jest and axe deps (#2910)
Browse files Browse the repository at this point in the history
Also, [Jest needs prettier
v2](https://jestjs.io/docs/configuration/#prettierpath-string) to update
inline snapshots.
  • Loading branch information
tujoworker authored Nov 17, 2023
1 parent 71ad30d commit 8e1359e
Show file tree
Hide file tree
Showing 3 changed files with 873 additions and 93 deletions.
1 change: 1 addition & 0 deletions packages/dnb-eufemia/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ const config = {
'^.+\\.(svg)$': '<rootDir>/src/core/jest/jsxMock.js',
},
setupFilesAfterEnv: ['<rootDir>/src/core/jest/setupJest.js'],
prettierPath: require.resolve('prettier-v2'),
}
module.exports = config
19 changes: 10 additions & 9 deletions packages/dnb-eufemia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,18 +175,18 @@
"@svgr/plugin-jsx": "6.5.1",
"@svgr/plugin-svgo": "6.5.1",
"@testing-library/dom": "9.3.1",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/jest-dom": "6.1.4",
"@testing-library/react": "14.0.0",
"@testing-library/user-event": "14.4.3",
"@types/fs-extra": "11.0.1",
"@types/jest": "29.2.6",
"@types/jest-axe": "3.5.5",
"@types/jest-image-snapshot": "6.1.0",
"@types/jest": "29.5.8",
"@types/jest-axe": "3.5.8",
"@types/jest-image-snapshot": "6.2.3",
"@types/json-schema": "7.0.12",
"@typescript-eslint/eslint-plugin": "5.60.0",
"@typescript-eslint/parser": "5.60.0",
"audit-ci": "6.6.1",
"babel-jest": "29.5.0",
"babel-jest": "29.7.0",
"babel-plugin-optimize-clsx": "2.6.2",
"babel-plugin-search-and-replace": "1.1.1",
"babel-plugin-transform-next-use-client": "1.1.1",
Expand Down Expand Up @@ -222,10 +222,10 @@
"gulp-rename": "2.0.0",
"gulp-transform": "3.0.5",
"history": "5.1.0",
"jest": "29.3.1",
"jest-axe": "7.0.0",
"jest-environment-jsdom": "29.3.1",
"jest-image-snapshot": "6.1.0",
"jest": "29.7.0",
"jest-axe": "8.0.0",
"jest-environment-jsdom": "29.7.0",
"jest-image-snapshot": "6.2.0",
"jest-matchmedia-mock": "1.1.0",
"jest-playwright-preset": "3.0.1",
"jest-raw-loader": "1.0.1",
Expand All @@ -246,6 +246,7 @@
"postcss-preset-env": "6.7.0",
"prettier": "3.0.3",
"prettier-package-json": "2.8.0",
"prettier-v2": "npm:prettier@^2",
"process": "0.11.10",
"prop-types": "15.7.2",
"react": "18.2.0",
Expand Down
Loading

0 comments on commit 8e1359e

Please sign in to comment.