Skip to content

Commit 58f5a9a

Browse files
chore: update testPathIgnorePatterns to exclude additional test cases in CI
1 parent 99a018b commit 58f5a9a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

script/convert

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +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|serverRenderReactComponent|SuspenseHydration).*\"'
46+
'jest node_package/tests --testPathIgnorePatterns=".*(RSC|stream|' \
47+
'registerServerComponent|serverRenderReactComponent|SuspenseHydration).*"'
4748
)
4849
gsub_file_content("../tsconfig.json", "react-jsx", "react")
4950
gsub_file_content("../spec/dummy/babel.config.js", "runtime: 'automatic'", "runtime: 'classic'")

0 commit comments

Comments
 (0)