How to use the operators 'and' or 'or' in Pactum? #326
Unanswered
RodrigoOBC
asked this question in
Q&A
Replies: 1 comment
-
We can use Assert Expressions to implement custom assertions. expectJsonLike('path.to.property', '$V === null || typeof $V === "string"') |
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
-
Hello, good morning.
I have a scenario where the key 'name' can be null or a string. However, in the documentation, I couldn't find any function that could meet this need.
If possible, I request your help to solve this problem. I'm trying to implement Pactum in my company.
Beta Was this translation helpful? Give feedback.
All reactions