Wrapping fast-check
as a DSL for topic-specific tests
#3714
-
I'm really enjoying I'd like to take things further by wrapping property tests in a topic-specific testing DSL in TypeScript:
Where
I'm not sure how to type the Any advice much appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You can probably have a look to the typing declared for |
Beta Was this translation helpful? Give feedback.
You can probably have a look to the typing declared for
test.prop
in@fast-check/{vitest,jest}
(in this repository). They seem pretty close to your needs.