vitest
vitest copied to clipboard
Suggest timeout in the second arg, not last
Timeout specified in the last argument is deprecated.
The doc says:
Vitest 1.3.0 deprecates the use of options as the last parameter.
Deploy Preview for fastidious-cascaron-4ded94 ready!
Name | Link |
---|---|
Latest commit | 91239f89123abd3cbc3326dce1f1589a01405c8e |
Latest deploy log | https://app.netlify.com/sites/fastidious-cascaron-4ded94/deploys/65e3ee0d657ec60008ba1808 |
Deploy Preview | https://deploy-preview-5268--fastidious-cascaron-4ded94.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Timeout is the last argument, the options are the second argument.
@sheremet-va Could you share a reference? I do not see a way to add a timeout directly as the last argument. I also updated the text and description for better clarity.
@sheremet-va Would you mind taking another look :)
@sheremet-va Would you mind taking another look :)
What I am trying to say is that the use of a number as the last argument was not deprecated—only the use of an object.