Skip to content

Commit 18d85d0

Browse files
committed
Try React 16.14.0
1 parent 383f0f1 commit 18d85d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

script/convert

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ gsub_file_content("../package.json", %r{"@testing-library/dom": "[^"]*",}, "")
3232
gsub_file_content("../package.json", %r{"@testing-library/react": "[^"]*",}, "")
3333

3434
# Switch to the oldest supported React version
35-
gsub_file_content("../package.json", /"react": "[^"]*",/, '"react": "16.3.0",')
36-
gsub_file_content("../package.json", /"react-dom": "[^"]*",/, '"react-dom": "16.3.0",')
37-
gsub_file_content("../spec/dummy/package.json", /"react": "[^"]*",/, '"react": "16.3.0",')
38-
gsub_file_content("../spec/dummy/package.json", /"react-dom": "[^"]*",/, '"react-dom": "16.3.0",')
35+
gsub_file_content("../package.json", /"react": "[^"]*",/, '"react": "16.14.0",')
36+
gsub_file_content("../package.json", /"react-dom": "[^"]*",/, '"react-dom": "16.14.0",')
37+
gsub_file_content("../spec/dummy/package.json", /"react": "[^"]*",/, '"react": "16.14.0",')
38+
gsub_file_content("../spec/dummy/package.json", /"react-dom": "[^"]*",/, '"react-dom": "16.14.0",')
3939
gsub_file_content(
4040
"../package.json",
4141
"jest node_package/tests",

0 commit comments

Comments
 (0)