The same error is seen even with a just-created meteor package (meteor create --package). The test command I am using is meteor test-packages --driver-package velocity:html-reporter ./, and you can reproduce the error with this package.
If I use meteor test-packages --driver-package velocity:console-reporter ./ I get the same error.
I tried adding version constraints for all the packages, and still got the same error. Running the one of the commands suggested in mad-eye/meteor-mocha-web#184 (meteor test-packages --velocity ./) gave the same error. The other command (meteor test-packages --velocity --driver-package respondly:test-reporter ./) gives this error in the browser console:
Uncaught TypeError: $ is not a function
(anonymous function) @ respondly_util.js:5911
runStartupCallbacks @ meteor.js:759
ready @ meteor.js:761
Using --release velocity:METEOR@1.2.0.2_1 doesn't fix it either.
The tests themselves seem to run as expected (screenshot below), but random background errors make me nervous.
Moving this from meteor-velocity/velocity#398
When I try to test a Meteor package I am writing with
mike:mocha-package
, the following error shows on the server:The same error is seen even with a just-created meteor package (
meteor create --package
). The test command I am using ismeteor test-packages --driver-package velocity:html-reporter ./
, and you can reproduce the error with this package.If I use
meteor test-packages --driver-package velocity:console-reporter ./
I get the same error.I tried adding version constraints for all the packages, and still got the same error. Running the one of the commands suggested in mad-eye/meteor-mocha-web#184 (
meteor test-packages --velocity ./
) gave the same error. The other command (meteor test-packages --velocity --driver-package respondly:test-reporter ./
) gives this error in the browser console:Using
--release velocity:METEOR@1.2.0.2_1
doesn't fix it either.The tests themselves seem to run as expected (screenshot below), but random background errors make me nervous.