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
-t
Jest defines the test name as: "the full name, which is a combination of the test name and all its surrounding describe blocks". Vite only uses the the test name. This results in problems e.g. when using VSCode extension https://github.com/firsttris/vscode-jest-runner
Use the standard example and run vitest -t "suite name foo". It would work with Jest.
vitest -t "suite name foo"
System: OS: macOS 12.2.1 CPU: (8) arm64 Apple M1 Memory: 92.28 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 17.4.0 - /opt/homebrew/bin/node Yarn: 1.22.17 - /opt/homebrew/bin/yarn npm: 8.4.1 - /opt/homebrew/bin/npm Browsers: Edge: 97.0.1072.69 Firefox: 97.0.1 Safari: 15.3 Safari Technology Preview: 15.4
pnpm
The text was updated successfully, but these errors were encountered:
e753493
It works! Thanks so much @patak-dev that was the last brick missing eliminating Jest completely from some of my projects ;)
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Jest defines the test name as: "the full name, which is a combination of the test name and all its surrounding describe blocks". Vite only uses the the test name. This results in problems e.g. when using VSCode extension https://github.com/firsttris/vscode-jest-runner
Reproduction
Use the standard example and run
vitest -t "suite name foo"
. It would work with Jest.System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: