fix: Align RawMatcherFn type definition with Jest#6351
fix: Align RawMatcherFn type definition with Jest#6351sheremet-va merged 1 commit intovitest-dev:mainfrom
Conversation
|
I've tried debugging the build locally. Due to pnpm/volta clashes I've had to use pnpm@7, so I'm not sure how accurate my local results are. However, I'm not seeing any failures that look relevant to my change - just lots of failures in test files (which I think is due to pnpm@7 failing to correctly resolve peer dependencies) |
Use corepack to enable pnpm. The errors are related to your changes. If you can't debug locally, make changes based on errors in CI. They provide a line number and a column where the error is. |
✅ Deploy Preview for vitest-dev ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
Hopefully all good now |
|
thanks! |
Might fix #6350
Description
Copied the typedef from jest, which is a better reflection of the fact vitest does actually use spread
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
Ideally, include a test that fails without this PR but passes with it.N/A - change to types, not implementationpnpm-lock.yamlunless you introduce a new test example.Tests
Run the tests withN/A - change to types, not implementationpnpm test:ci.Documentation
pnpm run docscommand.Changesets
feat:,fix:,perf:,docs:, orchore:.