-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Describe the bug
I'm getting a type error when using the new retry option (#1929) of describe():
error TS2554: Expected 1-2 arguments, but got 3
Reproduction
This will run successfully but trigger a type error:
describe('tests', () => {
...
}, {retry: 2})System Info
npx: installed 1 in 1.517s
System:
OS: macOS 12.5.1
CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
Memory: 2.67 GB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 14.18.0 - ~/.nvm/versions/node/v14.18.0/bin/node
npm: 6.14.15 - ~/.nvm/versions/node/v14.18.0/bin/npm
Watchman: 2022.05.16.00 - /usr/local/bin/watchman
Browsers:
Chrome: 104.0.5112.101
Firefox Developer Edition: 105.0
Safari: 15.6.1
npmPackages:
@vitejs/plugin-react: ^1.3.0 => 1.3.2
vite: ^2.9.5 => 2.9.14
vitest: ^0.23.0 => 0.23.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
Metadata
Metadata
Assignees
Labels
No labels