-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Describe the bug
Test options defined in OUTER describe only propagate to INNER tests, but not INNER describes
This seems only fixes for test, but not describe: #2025
And to be said, seems test options are not documented at all.
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-cj4eas?file=test%2Fbug.test.ts
System Info
System:
OS: Windows 10 10.0.22000
CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
Memory: 9.07 GB / 31.69 GB
Binaries:
Node: 18.16.0 - C:\Program Files\nodejs\node.EXE
npm: 9.5.1 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Spartan (44.22000.120.0), Chromium (113.0.1774.57)
Internet Explorer: 11.0.22000.120
npmPackages:
@vitejs/plugin-react-swc: ^3.3.1 => 3.3.1
@vitest/coverage-c8: ^0.31.1 => 0.31.1
@vitest/coverage-istanbul: ^0.31.1 => 0.31.1
@vitest/ui: ^0.31.1 => 0.31.1
vite: ^4.3.9 => 4.3.9
vitest: ^0.31.1 => 0.31.1Used 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