javascript - first setup in chimp and mocha but chimp won't run mocha tests -
i have meteor app , want setup tests. chosen components chimp , mocha.
in meteor folder have inlcuded tests/mocha/
directory.
and included first test (got tutorial) in file mochatest.js
describe('chimp mocha', function() { describe('page title', function () { it('should set meteor method @watch', function () { browser.url('http://www.google.com'); expect(browser.gettitle()).to.equal('google'); }); }); });
so tried using chimp run mochatest command:
chimp --ddp=http://localhost:8080 --mocha —path=tests/mocha
i got output:
master chimp , become testing ninja! check out our course: http://shortenedurl/... [chimp] running...
and after chimp exited.
what have done wrong?
Comments
Post a Comment