Skip to content

Commit 711d333

Browse files
chore: escape quotes in testPathIgnorePatterns for proper parsing in CI
1 parent 58f5a9a commit 711d333

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script/convert

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ gsub_file_content("../spec/dummy/package.json", /"react-dom": "[^"]*",/, '"react
4343
gsub_file_content(
4444
"../package.json",
4545
"jest node_package/tests",
46-
'jest node_package/tests --testPathIgnorePatterns=".*(RSC|stream|' \
47-
'registerServerComponent|serverRenderReactComponent|SuspenseHydration).*"'
46+
'jest node_package/tests --testPathIgnorePatterns=\".*(RSC|stream|' \
47+
'registerServerComponent|serverRenderReactComponent|SuspenseHydration).*\"'
4848
)
4949
gsub_file_content("../tsconfig.json", "react-jsx", "react")
5050
gsub_file_content("../spec/dummy/babel.config.js", "runtime: 'automatic'", "runtime: 'classic'")

0 commit comments

Comments
 (0)