-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Describe the bug
If you extend a test and then chain it with runIf/skipIf, fixtures are not available in the test functions.
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-haqyk8?file=src%2Fbasic.ts
System Info
System:
OS: macOS 14.1.1
CPU: (12) arm64 Apple M2 Max
Memory: 4.63 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.16.1 - ~/.nvm/versions/node/v18.16.1/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v18.16.1/bin/yarn
npm: 9.5.1 - ~/.nvm/versions/node/v18.16.1/bin/npm
pnpm: 7.29.1 - ~/.nvm/versions/node/v18.16.1/bin/pnpm
Browsers:
Chrome: 119.0.6045.159
Edge: 119.0.2151.72
Safari: 17.1
npmPackages:
vitest: v1.0.0-beta.5 => 1.0.0-beta.5Used Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable