We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Vitest cannot parse environment options declared on a single line:
/** @vitest-environment-options {"url": "https://vitejs.dev"} */
A JSON parse error will be thrown.
Add /** @vitest-environment-options {"url": "https://vitejs.dev"} */ to a test file.
System: OS: Linux 6.7 Arch Linux CPU: (8) x64 AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx Memory: 7.80 GB / 13.54 GB Container: Yes Shell: 5.2.26 - /bin/bash Binaries: Node: 21.6.1 - /usr/bin/node Yarn: 1.22.19 - /usr/bin/yarn npm: 10.4.0 - /usr/bin/npm pnpm: 8.11.0 - /usr/bin/pnpm bun: 1.0.22 - /usr/bin/bun
pnpm
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
Vitest cannot parse environment options declared on a single line:
A JSON parse error will be thrown.
Reproduction
Add
/** @vitest-environment-options {"url": "https://vitejs.dev"} */
to a test file.System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: