Skip to content

Commit

Permalink
Merge pull request #4499 from wordpress-mobile/update/bump-jest-versi…
Browse files Browse the repository at this point in the history
…on-v27

Bump Jest version to v27
  • Loading branch information
fluiddot authored Jan 21, 2022
2 parents 93f8a1c + 7273f34 commit 6169e94
Show file tree
Hide file tree
Showing 8 changed files with 3,482 additions and 1,799 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:
name: Run Checks
command: bin/ci-checks-js.sh
environment:
JEST_JUNIT_OUTPUT: "reports/test-results/android-test-results.xml"
JEST_JUNIT_OUTPUT_FILE: "reports/test-results/android-test-results.xml"
- store_test_results:
path: ./reports/test-results
android-device-checks:
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:
environment:
TEST_RN_PLATFORM: android
TEST_ENV: sauce
JEST_JUNIT_OUTPUT: "/home/circleci/test-results/android-test-results.xml"
JEST_JUNIT_OUTPUT_FILE: "/home/circleci/test-results/android-test-results.xml"
- store_test_results:
path: /home/circleci/test-results
- when:
Expand Down Expand Up @@ -319,7 +319,7 @@ jobs:
npm run device-tests<<parameters.is-canary>>
no_output_timeout: 1200
environment:
JEST_JUNIT_OUTPUT: "reports/test-results/ios-test-results.xml"
JEST_JUNIT_OUTPUT_FILE: "reports/test-results/ios-test-results.xml"
- store_test_results:
path: ./reports/test-results
- run:
Expand Down
2 changes: 1 addition & 1 deletion gutenberg
Submodule gutenberg updated 198 files
2 changes: 0 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ module.exports = {
clearMocks: true,
preset: './gutenberg/node_modules/react-native/jest-preset.js',
setupFiles: [ '<rootDir>/' + configPath + '/setup.js' ],
testEnvironment: 'jsdom',
testMatch: [ '<rootDir>/src/**/test/*.[jt]s?(x)' ],
testPathIgnorePatterns: [
'/node_modules/',
Expand Down Expand Up @@ -55,7 +54,6 @@ module.exports = {
haste: {
defaultPlatform: rnPlatform,
platforms: [ 'android', 'ios', 'native' ],
providesModuleNodeModules: [ 'react-native', 'react-native-svg' ],
},
transformIgnorePatterns: [
// This is required for now to have jest transform some of our modules
Expand Down
Loading

0 comments on commit 6169e94

Please sign in to comment.