Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 26.9k
Plug'n'Play support#5136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Plug'n'Play support #5136
Changes from all commits
f04f0dd63152ef6eb3f337c362b0eae3d825bbe63a747ba0e3609e336862713543f5f8File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -22,7 +22,8 @@ module.exports = (resolve, rootDir, isEjecting) => { | ||
| // in Jest configs. We need help from somebody with Windows to determine this. | ||
| const config = { | ||
| collectCoverageFrom: ['src/**/*.{js,jsx}'], | ||
| setupFiles: ['react-app-polyfill/jsdom'], | ||
| resolver: require.resolve('jest-pnp-resolver'), | ||
| setupFiles: [require.resolve('react-app-polyfill/jsdom')], | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This leaves an absolute path after ejecting. | ||
| setupTestFrameworkScriptFile: setupTestsFile, | ||
| testMatch: [ | ||
| '<rootDir>/src/**/__tests__/**/*.{js,jsx}', | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this work on Node LTS version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so, it doesn't use any recent feature and the Node 8 tests pass.