Skip to content

Conversation

@hi-ogawa
Copy link
Contributor

@hi-ogawa hi-ogawa commented Jul 8, 2025

Description

I simplified a test case which was added for testing tsx files inside node_modules 4b9b2d5 since needing to pin old versions of generouted for this purpose is not good.

@hi-ogawa hi-ogawa changed the title test: simplify ts-lib test test(react-swc): simplify ts-lib test Jul 8, 2025
@hi-ogawa hi-ogawa marked this pull request as ready for review July 8, 2025 02:06
"dependencies": {
"@generouted/react-router": "^1.20.0",
"generouted": "1.11.7",
"@vitejs/test-dep-non-js": "file:./test-dep/non-js",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this as the same behaviour as being in node_modules because node_modules is not in the resolved path

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file:./ doesn't create a symlink, so the scenario should be same. I also confirmed manually adding back if (id.includes("node_modules")) return; indeed broke the tests.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh ok thanks for testing!

"dependencies": {
"@generouted/react-router": "^1.20.0",
"generouted": "1.11.7",
"@vitejs/test-dep-non-js": "file:./test-dep/non-js",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh ok thanks for testing!

@hi-ogawa hi-ogawa merged commit 54a782f into main Jul 8, 2025
18 of 19 checks passed
@hi-ogawa hi-ogawa deleted the 07-08-test_simplify_ts-lib_test branch July 8, 2025 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants