The solutions offered in other related questions, such as including the proper presets (es2015) in .babelrc, are already implemented in my project.
I have two projec
I resolved this issue this morning with the following instructions
Install NPM Modules
npm install --save-dev @babel/polyfill
npm install --save-dev @babel/register
package.json:
"scripts": {
"test": "mocha --require @babel/register --require @babel/polyfill src/DesktopApplication/Tests",
}
.babelrc
{
"presets": ["@babel/env"]
}