Open Avocher opened 6 years ago
Same here, did you find a workaround?
I create .babelrc
like this
{
"presets": [
[
"@babel/preset-env",
{
"targets": "> 0.25%, not dead"
},
]
],
"exclude": "node_modules/**",
}
then the mocha-sidebar can work .
But when it paused on breakpoint , that line didn't highlighted, and debug-siderbar tell me that file was skipped by smartStep.
+1
+1
Description
It seems that requiring esm in the sidebar config doesn't do anything while it works fine from console. https://github.com/standard-things/esm
Steps to Reproduce
npm i --save esm
Same example will run fine from console:
mocha -r esm esnext/**/*.spec.js
Expected Results
Shouldn't crash
Actual Results
Crashes because requiring esm doesn't seem to do anything
Versions
OS version