hbenl / vscode-mocha-test-adapter

Mocha Test Adapter for the VS Code Test Explorer
MIT License
91 stars 31 forks source link

Couldn't run tests with global fixtures. "The worker process finished with code 1 and signal null" #226

Open sanjeevi-mariappan opened 2 years ago

sanjeevi-mariappan commented 2 years ago

Steps to reproduce:

  1. Define a fixtures.cjs file and add the property "require": ["./fixtures.cjs"] in .mocharc.json
  2. Load side bar and refresh the tests
  3. The Error "The worker process finished with code 1 and signal null" will be thrown The worker process finished with code 1 and signal null
sanjeevi-mariappan commented 2 years ago

fixtures.cjs contains `exports.mochaGlobalTeardown = async function () {

};`