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.
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.