@@ -29,16 +29,15 @@ gsub_file_content("../package.json", %r{"@testing-library/dom": "[^"]*",}, "")
2929gsub_file_content ( "../package.json" , %r{"@testing-library/react": "[^"]*",} , "" )
3030
3131# Switch to the oldest supported React version
32- gsub_file_content ( "../package.json" , /"react": "[^"]*",/ , '"react": "16 .0.0",' )
33- gsub_file_content ( "../package.json" , /"react-dom": "[^"]*",/ , '"react-dom": "16 .0.0",' )
34- gsub_file_content ( "../spec/dummy/package.json" , /"react": "[^"]*",/ , '"react": "16 .0.0",' )
35- gsub_file_content ( "../spec/dummy/package.json" , /"react-dom": "[^"]*",/ , '"react-dom": "16 .0.0",' )
32+ gsub_file_content ( "../package.json" , /"react": "[^"]*",/ , '"react": "17 .0.0",' )
33+ gsub_file_content ( "../package.json" , /"react-dom": "[^"]*",/ , '"react-dom": "17 .0.0",' )
34+ gsub_file_content ( "../spec/dummy/package.json" , /"react": "[^"]*",/ , '"react": "17 .0.0",' )
35+ gsub_file_content ( "../spec/dummy/package.json" , /"react-dom": "[^"]*",/ , '"react-dom": "17 .0.0",' )
3636gsub_file_content (
3737 "../package.json" ,
3838 "jest node_package/tests" ,
3939 'jest node_package/tests --testPathIgnorePatterns=\".*RSC.*\" --testNamePattern=\"^(?!.*#react>16).*\"'
4040)
41- gsub_file_content ( "../tsconfig.json" , "react-jsx" , "react" )
4241
4342gsub_file_content ( "../spec/dummy/config/webpack/commonWebpackConfig.js" , /generateWebpackConfig(\( \) )?/ ,
4443 "webpackConfig" )
0 commit comments