Mocha is being tested after upgrading to Meteor 1.5.x

After upgrading to Meteor 1.5.1 from 1.4.4.2, I get this error when I run meteor test

(while it works fine).

With template scaffolding after meteor create

, I get:

TypeError: module1.exportDefault is not a function
W20170724-19:29:39.142(-7)? (STDERR)
W20170724-19:29:39.142(-7)? (STDERR)     at meteorInstall.node_modules.meteor.practicalmeteor:mocha.meteor.src.setup.setupMochaClient.js (packages/practicalmeteor:mocha/meteor/src/setup/setupMochaClient.js:1:9)
W20170724-19:29:39.142(-7)? (STDERR)     at fileEvaluate (packages/modules-runtime.js:333:9)
W20170724-19:29:39.143(-7)? (STDERR)     at require (packages/modules-runtime.js:228:16)
W20170724-19:29:39.143(-7)? (STDERR)     at meteorInstall.node_modules.meteor.practicalmeteor:mocha.meteor.src.setup.index.js (packages/practicalmeteor:mocha/meteor/src/setup/index.js:1:150)
W20170724-19:29:39.143(-7)? (STDERR)     at fileEvaluate (packages/modules-runtime.js:333:9)
W20170724-19:29:39.144(-7)? (STDERR)     at require (packages/modules-runtime.js:228:16)
W20170724-19:29:39.144(-7)? (STDERR)     at meteorInstall.node_modules.meteor.practicalmeteor:mocha.meteor.src.index.js (packages/practicalmeteor:mocha/meteor/src/index.js:1:431)
W20170724-19:29:39.144(-7)? (STDERR)     at fileEvaluate (packages/modules-runtime.js:333:9)
W20170724-19:29:39.145(-7)? (STDERR)     at require (packages/modules-runtime.js:228:16)
W20170724-19:29:39.145(-7)? (STDERR)     at /private/var/folders/wz/73gq7k591wjbmk5zjf_1h5bnlwwdyw/T/meteor-test-runvsqg43/.meteor/local/build/programs/server/packages/practicalmeteor_mocha.js:8141:15

      

Check the gist of PACKAGES, METEOR_LIST, UPGRADE LOG, ERROR, PACKAGE.JSON

I've tried to figure out which package is causing the problem, but no luck so far. I appreciate any of your debugging guidance or solution if you got it already!

Thank.:)

+3


source to share





All Articles