You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to be able to add wildcards the parameters on the beenInvokedWith. For example.
expect(smoax).to.have.beenInvokedWith('POST', 'http:localhost', '*') The* should match localhost URL independently of the parameters the request was made with. This would simplify the test writing.
expect(smoax).to.have.beenInvokedWith('POST', 'http:localhost/*', '*') Also a wildcard or regular expression on the URL would be great.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
It would be great to be able to add wildcards the parameters on the beenInvokedWith. For example.
expect(smoax).to.have.beenInvokedWith('POST', 'http:localhost', '*')
The* should match localhost URL independently of the parameters the request was made with. This would simplify the test writing.expect(smoax).to.have.beenInvokedWith('POST', 'http:localhost/*', '*')
Also a wildcard or regular expression on the URL would be great.Thanks.
The text was updated successfully, but these errors were encountered: