chai-fs icon indicating copy to clipboard operation
chai-fs copied to clipboard

Breaks Debugging on Webstorm

Open knitterb-razzle opened this issue 9 years ago • 0 comments

When using the following line, Webstorm's debugging of mocha tests fails with an exit code of 130.

chai.use(require('chai-fs'))

The only workaround I've found thus far is to remove chai-fs from my unit tests.

Logs:

/usr/local/bin/node --debug-brk=54452 /usr/local/lib/node_modules/mocha/bin/_mocha --timeout 259200000 --ui bdd --reporter /Applications/WebStorm.app/Contents/plugins/NodeJS/js/mocha-intellij/lib/mochaIntellijReporter.js /Users/username/Documents/project/test/simple-test.js --grep "simple test$"
Debugger listening on port 54452

Process finished with exit code 130

Node: v5.6.0 Chai: v3.5.0 Chai-fs: v0.1.0

knitterb-razzle avatar Feb 23 '16 17:02 knitterb-razzle