Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade to jest 27 and jasmine-check to 1.0.0-rc (#1874)
* upgrade to jest 27 * remove deprecation for jasmine-check * fix version number
- Loading branch information
Showing
8 changed files
with
2,363 additions
and
2,853 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module.exports = { | ||
testRunner: 'jest-jasmine2', // See https://jestjs.io/blog/2021/05/25/jest-27#flipping-defaults as `jasmine-check` uses jasmine and not `jest-circus` | ||
moduleFileExtensions: ['js', 'ts'], | ||
resolver: '<rootDir>/resources/jestResolver.js', | ||
transform: { | ||
'^.+\\.(js|ts)$': '<rootDir>/resources/jestPreprocessor.js', | ||
}, | ||
testRegex: '/__tests__/.*\\.(ts|js)$', | ||
unmockedModulePathPatterns: ['./node_modules/react'], | ||
}; |
Oops, something went wrong.