Skip to content

Commit e0d1365

Browse files
Update test command in convert script for improved execution
- Modified the test command in the convert script to simplify the execution process by removing unnecessary path references. - Ensured compatibility with the new test structure by updating the command to reflect the current organization. These changes enhance the clarity and efficiency of the testing setup in the project.
1 parent 325e4e8 commit e0d1365

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
@@ -40,8 +40,8 @@ gsub_file_content("../spec/dummy/package.json", /"react": "[^"]*",/, '"react": "
4040
gsub_file_content("../spec/dummy/package.json", /"react-dom": "[^"]*",/, '"react-dom": "18.0.0",')
4141
gsub_file_content(
4242
"../packages/react-on-rails/package.json",
43-
"cd ../.. && jest packages/react-on-rails/tests",
44-
'cd ../.. && jest packages/react-on-rails/tests --testPathIgnorePatterns=\".*(RSC|stream|' \
43+
"jest tests",
44+
'jest tests --testPathIgnorePatterns=\".*(RSC|stream|' \
4545
'registerServerComponent|serverRenderReactComponent|SuspenseHydration).*\"'
4646
)
4747
# Keep modern JSX transform for React 18+

0 commit comments

Comments
 (0)