Skip to content

Commit 07b9969

Browse files
wangkailangfezhengjin
authored andcommitted
bugfix/jest-config-require-wizard-polyfill (#24)
* bugfix/jest-config-require-wizard-polyfill * update version
1 parent 24bdc40 commit 07b9969

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/react-scripts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-scripts-wizard",
3-
"version": "2.1.1-5",
3+
"version": "2.1.1-6",
44
"description": "Configuration and scripts for Create React App.",
55
"repository": "xsky-fe/create-react-app-wizard",
66
"license": "MIT",

packages/react-scripts/scripts/utils/createJestConfig.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ module.exports = (resolve, rootDir, isEjecting) => {
3636
: require.resolve('jest-pnp-resolver'),
3737
setupFiles: [
3838
isEjecting
39-
? 'react-app-polyfill/jsdom'
40-
: require.resolve('react-app-polyfill/jsdom'),
39+
? 'react-app-polyfill-wizard/jsdom'
40+
: require.resolve('react-app-polyfill-wizard/jsdom'),
4141
],
4242

4343
setupTestFrameworkScriptFile: setupTestsFile,

0 commit comments

Comments
 (0)