Rename test.prop
to test.props
and create test.prop
that takes only 1 Arbitrary.
#5709
waynevanson
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
Hmm, |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Rename
test.prop
totest.props
and createtest.prop
that takes only 1 Arbitrary.A breaking change.
I don't like having to create a tuple when I use the test integrations (vitest).
Current
it.prop([fc.string()])(string => {})
Proposed
it.prop(fc.string())(string => {})
it.props([fc.string()])(string => {})
There's also a world where another overload to the test function is provided which is non breaking.
What do you think?
I can implement the latter if you wish.
Beta Was this translation helpful? Give feedback.
All reactions