-
Notifications
You must be signed in to change notification settings - Fork 45
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
Verification null value missing #201
Comments
Yes, the reason was - I had files with x on describe level |
@qatechniker well if this is working okay with mocha and fails with mocha-parallel-tests, this can be an issue. Thanks for posting this, I will investigate this case a bit further. |
Hey @qatechniker do you still have this issue when using xdescribes and mocha-parallel-tests? |
Hey, I think it can not disappear if nobody fixed ))) I just removed this situation in my set up. Need to create PR to this project with test to proof... |
That would be great! Right now we have a test for these methods: https://github.com/mocha-parallel/mocha-parallel-tests/tree/master/test/skip-test, so I was almost sure that mocha-parallel-tests supports |
I apologize if this is off-base, but I have an error that presents as the same error. Environment:
The situation is when a
While mocha reports correctly:
The minimal example to trigger this error is: const assert = require('assert');
describe('describe block', function () {
before(function () {
assert(false);
});
describe.skip('skipped describe block', function () {
it('should never get here', function () {
assert(false);
});
});
}); I'm not familiar enough with
This could just be covering over the root cause, though. |
any updates on this issue? Unhandled asynchronous exception: TypeError: Cannot set property 'toString' of null |
We just have a little gulp task to fix the issue in our build pipeline. Not the greatest solution, but until something is addressed here, one that works. |
Have exactly the same issue. |
Not sure what is the root reason for the issue. Possibly file with ignored tests on describe level (investigating now).
Need to be fixed. It fail entire run....
Unhandled asynchronous exception: TypeError: Cannot set property 'toString' of null
at Array.subprocessParseReviver (/usr/src/app/node_modules/mocha-parallel-tests/dist/main/util.js:18:26)
at Array. (/usr/src/app/node_modules/circular-json/build/circular-json.node.js:138:30)
at JSON.parse ()
at Object.parse (/usr/src/app/node_modules/circular-json/build/circular-json.node.js:196:32)
at MochaWrapper.addSubprocessSuites (/usr/src/app/node_modules/mocha-parallel-tests/dist/main/mocha.js:99:59)
at TaskManager.taskManager.on (/usr/src/app/node_modules/mocha-parallel-tests/dist/main/mocha.js:73:22)
at TaskManager.emit (events.js:180:13)
at TaskManager.onTaskProcessingFinished (/usr/src/app/node_modules/mocha-parallel-tests/dist/main/task-manager.js:19:18)
at TaskManager.emit (events.js:180:13)
at TaskManager.startTaskProcessing (/usr/src/app/node_modules/mocha-parallel-tests/dist/main/task-manager.js:44:14)
The text was updated successfully, but these errors were encountered: