Meteor+mochaでテストが実行されない Meteormeteor-mocha-webmocha $ meteor add mike:mocha@0.4.4 # $ mkdir -p tests/server/unit : `tests/server/unit/test.js` if (!(typeof MochaWeb === 'undefined')){ MochaWeb.testOnly(function(){ describe("Server initialization", function(){ it("should insert players into the database after server start", function(){ chai.assert(0 > 0); }); }); }); } meteor $ meteor "0 tests passed in 0 ms"
meteor-mocha-web`tests/mocha/`
$ mkdir -p tests/mocha/server/unit
xcX3v84RxoQ-4GxG32940ukFUIEgYdPy
5ec04a211af6081c64df16e75a42f48f
Stop