Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Does anyone know of a compatible package which does this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
👋 Hi guys,
we are currently migrating from
jest
tovitest
.In
jest
we used a package called jest-chain which allows you to chain matchers that are partially applied (with their own context), so f.e. anisNot
is not interfering with a following matcher.We put our matchers in a setup file and they are loaded but the ability to chain them is currently missing. As soon as an
isNot
is set, it's reversing the logic and outcome of the other matchers. How can we achieve this?This is the source of the chain.js of jest-chain.
Thx.
Beta Was this translation helpful? Give feedback.
All reactions