When the test runner is run in NodeJS and there's a failure, the code calls WScript.Quit() explicitly which then causes an error in Node.
I had a situation in WScript where I had a dangling comma in the required block and instead of the required modules test failing, the test runner just quit.
When the test runner is run in NodeJS and there's a failure, the code calls WScript.Quit() explicitly which then causes an error in Node.
I had a situation in WScript where I had a dangling comma in the required block and instead of the required modules test failing, the test runner just quit.