-
-
Notifications
You must be signed in to change notification settings - Fork 191
test(react-swc): simplify ts-lib test #548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| "dependencies": { | ||
| "@generouted/react-router": "^1.20.0", | ||
| "generouted": "1.11.7", | ||
| "@vitejs/test-dep-non-js": "file:./test-dep/non-js", |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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!
Description
I simplified a test case which was added for testing tsx files inside
node_modules4b9b2d5 since needing to pin old versions ofgeneroutedfor this purpose is not good.