Skip to content

Commit

Permalink
build: update jest to v27
Browse files Browse the repository at this point in the history
using jasmine test runner due to salesforce#65
  • Loading branch information
mohanraj-r committed Jun 15, 2021
1 parent 467cb5b commit b4bfda6
Show file tree
Hide file tree
Showing 6 changed files with 435 additions and 1,174 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module.exports = {
// Direct Jest to read the jest config file from integration tests
projects: ['<rootDir>', integrationTestPath],
testEnvironment: 'jsdom',
testRunner: 'jest-jasmine2',
// Custom results processor for a11y results. Only affects JSON results file output.
// To be used with jest cli options --json --outputFile
// * e.g. jest --json --outputFile jestResults.json
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"eslint-plugin-tsdoc": "0.2.14",
"eslint-watch": "7.0.0",
"husky": "6.0.0",
"jest": "26.6.3",
"jest": "27.0.4",
"lerna": "4.0.0",
"lint-staged": "11.0.0",
"lockfile-lint": "4.6.2",
Expand Down
8 changes: 4 additions & 4 deletions packages/format/__tests__/__snapshots__/filter.test.ts.snap

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

4 changes: 2 additions & 2 deletions packages/jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
"dist/**/*.d.ts*"
],
"dependencies": {
"@jest/test-result": "26.6.2",
"@jest/test-result": "27.0.2",
"@sa11y/assert": "0.2.4",
"@sa11y/format": "0.4.0",
"@sa11y/preset-rules": "0.3.3",
"jest-matcher-utils": "26.6.2"
"jest-matcher-utils": "27.0.2"
},
"peerDependencies": {
"jest": ">=26.0.0"
Expand Down
1 change: 1 addition & 0 deletions packages/test-integration/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ module.exports = {
setupFilesAfterEnv: ['<rootDir>/jest-setup.js'],
testPathIgnorePatterns: ['__tests__/wdio.test.ts'],
testEnvironment: 'jsdom',
testRunner: 'jest-jasmine2',
};

0 comments on commit b4bfda6

Please sign in to comment.