Skip to content

Newer versions of babel-preset-meteor don't play nicely with mocha

Notifications You must be signed in to change notification settings

okgrow/babel-preset-meteor-imports-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imports bug repro

npm import then run with:

npm run unit-test

which outputs

/Users/robertdickert/src/okgrow/repros/babel-preset-meteor-imports/tests/unit-tests/repro.tests.js:3
var expect = void 0;module.import("chai", { "expect": function (v) {
                                 ^

TypeError: module.import is not a function

Go to the previous commit, npm install, and it works.

About

Newer versions of babel-preset-meteor don't play nicely with mocha

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published