-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
Tests: TypeError: settingPath.split is not a function #38847
Comments
This is because, Assert framework uses Not sure, how to fix this in general. But one way is to provide a message during assertion. |
@sandy081 sucks, maybe ask mocha if there is a way to turn this off? I could not find anything in the documentation when I check just now. |
@sandy081 interesting, maybe this helps: nodejs/node#8071 (comment) ? |
@bpasero I disabled custom inspect for tests. On a side note, the typings of node module does not expose the default options on inspect. |
@sandy081 awesome |
I am seeing a weird issue where when I have a test failure in one of my unit tests, this exception pops up:
To reproduce:
It almost looks like the TestConfigurationService.inspect method ends up on the global stack and is used by the assert framework!?
The text was updated successfully, but these errors were encountered: