Reputation: 2052
I have a situation like example you can take this api
https://api.stackexchange.com/2.2/questions/45204710?order=desc&sort=activity&site=stackoverflow
This will return view_count
as number. And that can be dynamic in nature. When I create pact interaction for these kinda response how can I add marchers for number.
I tried this but not working.
"view_count": term({
matcher: '[0-9]',
generate: 123
}),
Upvotes: 2
Views: 149
Reputation: 1318
This is not currently supported. You should use a like(123)
instead.
Upvotes: 2