Closed jlabrada71 closed 2 years ago
The sample code is quite old maybe it requires to be updated.
Thanks, we have updated the sample esm
dependency version, so it now works.
Also, depending on the testing framework that you are using, you may not need esm
to run ES modules. You may find more details for various frameworks here.
Issue description or question
I'm trying to use Wallaby with ES modules, and downloaded the sample project: https://github.com/wallabyjs/wallaby-std-esm It doesn't run. Throws an error: [Error] SyntaxError: Unexpected token ',' [Error] at new Script (vm.js:102:7) .... Sender.fallbacks.js":void 0}]},{},[72]);,true
I guess is the last ',' before the 'true' the source of the error. The sample code is quite old maybe it requires to be updated.
I'm using node 14.17.5
Wallaby diagnostics report