Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support embedded regular expressions. #441

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Support embedded regular expressions. #441

wants to merge 2 commits into from

Conversation

Thann
Copy link

@Thann Thann commented Oct 21, 2017

I made it so you can write a simple test for bodies that return random data like so:
{name: 'foo', token: '8283842038'} will match: .expect({name: 'foo', token: /\d+/})

If you guys consider this a breaking change, I could move the functionality to a new function like "match" (although I would argue it's not breaking because you can't json encode a RegExp)

@wi-ski
Copy link

wi-ski commented Mar 7, 2018

Can we get some eyes on this!!! :) Thank you all for maintaining this awesome lib!

@rimiti rimiti self-assigned this Jan 18, 2019
@rimiti rimiti added the conflicts Conflicts to resolve label Jan 18, 2019
@rimiti
Copy link
Contributor

rimiti commented Mar 8, 2019

@Thann Can you please resolve all conflicts ? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conflicts Conflicts to resolve
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants