Skip to content
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

chore(test): Remove single/double quotes in npm scripts in fixtures #6459

Merged
merged 3 commits into from
Nov 15, 2023

Conversation

mehulkar
Copy link
Contributor

@mehulkar mehulkar commented Nov 15, 2023

When running these tests in Windows, these single and double quotes get printed
whereas on Darwin/Linux, they do not. This bug is repoted in npm
npm/cli#6968. It would be possible to workaround
this by matching output in our prysk tests with regex and making the quotation
marks optional, but for most tests that is additional noise that we do not
need, so it is simpler to remove the quotes instead.

The second commit does the same for basic_monorepo, but is more invasive so I wanted the option of reverting it if we don't want it.

This is extracted from #6279, because it's a large diff and I wanted to have a good commit explaining it.

Closes TURBO-1674

When running these tests in Windows, these single and double quotes get printed
whereas on Darwin/Linux, they do not. This bug is repoted in npm
npm/cli#6968. It would be possible to workaround
this by matching output in our prysk tests with regex and making the quotation
marks optional, but for most tests that is additional noise that we do not
need, so it is simpler to remove the quotes instead.
Copy link

vercel bot commented Nov 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-native-web 🔄 Building (Inspect) Visit Preview 💬 Add feedback Nov 15, 2023 5:04pm
examples-nonmonorepo 🔄 Building (Inspect) Visit Preview 💬 Add feedback Nov 15, 2023 5:04pm
9 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Visit Preview Nov 15, 2023 5:04pm
examples-cra-web ⬜️ Ignored (Inspect) Visit Preview Nov 15, 2023 5:04pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Nov 15, 2023 5:04pm
examples-gatsby-web ⬜️ Ignored (Inspect) Visit Preview Nov 15, 2023 5:04pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Visit Preview Nov 15, 2023 5:04pm
examples-svelte-web ⬜️ Ignored (Inspect) Visit Preview Nov 15, 2023 5:04pm
examples-tailwind-web ⬜️ Ignored (Inspect) Nov 15, 2023 5:04pm
examples-vite-web ⬜️ Ignored (Inspect) Visit Preview Nov 15, 2023 5:04pm
turbo-site ⬜️ Ignored (Inspect) Visit Preview Nov 15, 2023 5:04pm

Copy link
Contributor

github-actions bot commented Nov 15, 2023

🟢 Turbopack Benchmark CI successful 🟢

Thanks

Copy link
Contributor

github-actions bot commented Nov 15, 2023

🟢 CI successful 🟢

Thanks

@mehulkar mehulkar merged commit ee71477 into main Nov 15, 2023
55 of 56 checks passed
@mehulkar mehulkar deleted the mk/windows-quoting branch November 15, 2023 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants