-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Storage] Regenerating all the recordings at once fail because of the tests with this.skip()
#5697
Comments
this.skip()
this.skip()
The correct behaviour should be that afterEach block should be executed when a test is skipped just like the beforeEach block, which would ensure that the ongoing recording is stopped with This is a bug in the
This hasn't been fixed in 6.2.2 version(latest). Update - Tested this branch mochajs/mocha#3741, this seems to fix things :) |
The issue is fixed in mocha 7.0.0 - mochajs/mocha#3741 However, after updating mocha to 7.0.0 in the central repo's SDKs, This issue occurred because For comparison, npm throws a warning only glenjamin/mocha-multi#68 - Logged an issue in the mocha-multi repo asking them to support mocha@7.0.0 |
@HarshaNalluru Is there anything we need to do for Storage specifically here if we update mocha across the repo? |
This was seen with storage at the time. It should be independent of storage. |
Record mode - NODE tests.
The tests with this.skip() doesn't execute the recorder.stop() call in the succeeding afterEach(since afterEach itself is not executed) which affects the tests that are run later on to throw an error saying NOCK recording is already in progress.
/cc - @chradek
The text was updated successfully, but these errors were encountered: