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

Allow a config option to cleanMocks before not after test #79

Open emahuni opened 1 year ago

emahuni commented 1 year ago

Sometimes we want to inspect the result of a test especially if developing in BDD strategy. Option to run mocks cleanup before and not after tests is good for this. Remember that Cypress allows for this as a feature, leave the app state as is on last fail or pass to allow introspection afterwards.