-
-
Notifications
You must be signed in to change notification settings - Fork 750
Closed
Description
What are you trying to achieve?
I want to use es2015 import syntax
What do you get instead?
I tried the --compilers js:babel-core/register
option which works fine with mocha, but I get a console error Unexpected token import
SyntaxError:
at Object.exports.runInThisContext (vm.js:78:16)
at Module._compile (module.js:543:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at .../node_modules/codeceptjs/node_modules/mocha/lib/mocha.js:222:27
Details
- CodeceptJS version: 0.4.13
- NodeJS Version: 7.4.0
- Operating System: Linux (Arch)
Metadata
Metadata
Assignees
Labels
No labels