Replies: 1 comment 1 reply
-
Hey @jmcdo29, thank you for the suggestion. If it's not going to break anything, we can extend the same behaviour to the rest of the library. Please raise a PR with the changes. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there! Been loving using Pactum for some E2E tests recently, working on a full example suite using PactumJS, NestJS, and uvu! I've noticed that there's times I'd like to have my named specs pass in structured data, but right now pactum types that as
any
. I was hoping you wouldn't mind a small PR to update thestep.d.ts
file to setStep#spec
to be typed asThis shouldn't bring in any breaking changes, as the type by default is still
any
, but now I could do something likeAnd have stricter typings for the data passed into the
spec()
Beta Was this translation helpful? Give feedback.
All reactions