Nanciee / cypress-autorecord

Simplify API mocking by auto-recording/stubbing HTTP interactions and automating the process of updating/deleting mocks.
223 stars 53 forks source link

Enable regex support for interceptPattern #57

Closed ERuseckas closed 3 years ago

ERuseckas commented 3 years ago

Fix for https://github.com/Nanciee/cypress-autorecord/issues/56

It will allow to do like this:

interceptPattern = new RegExp(REGEX_STRING).toString()