Created
June 4, 2014 11:02
-
-
Save sanemat/534c65b722d1e0bb91c7 to your computer and use it in GitHub Desktop.
gulp-mocha with power-assert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gulp watch --require intelli-espower-loader | |
[gulp] Requiring external module intelli-espower-loader | |
[gulp] Using gulpfile ~/work/js-study/node-53cal-jp-scraper/gulpfile.js | |
[gulp] Starting 'watch'... | |
gulp.run() has been deprecated. Use task dependencies or gulp.watch task triggering instead. | |
[gulp] Starting 'lint'... | |
[gulp] Starting 'istanbul'... | |
[gulp] Finished 'watch' after 548 ms | |
[gulp] Finished 'lint' after 730 ms | |
․ | |
0 passing (8ms) | |
1 failing | |
1) node53calJpScraper should be awesome: | |
AssertionError: # /Users/sane/work/js-study/node-53cal-jp-scraper/test/node-53cal-jp-scraper_test.js:9 | |
assert.equal(node53calJpScraper.awesome(), 'aweome') | |
| | | |
| "awesome" | |
Object{awesome:#function#} | |
+ expected - actual | |
+aweome | |
-awesome | |
at doPowerAssert (/Users/sane/work/js-study/node-53cal-jp-scraper/node_modules/power-assert/node_modules/empower/lib/empower.js:100:35) | |
at Function.equal (/Users/sane/work/js-study/node-53cal-jp-scraper/node_modules/power-assert/node_modules/empower/lib/empower.js:228:16) | |
at Context.<anonymous> (/Users/sane/work/js-study/node-53cal-jp-scraper/test/node-53cal-jp-scraper_test.js:6:16) | |
at callFn (/Users/sane/work/js-study/node-53cal-jp-scraper/node_modules/gulp-mocha/node_modules/mocha/lib/runnable.js:223:21) | |
at Test.Runnable.run (/Users/sane/work/js-study/node-53cal-jp-scraper/node_modules/gulp-mocha/node_modules/mocha/lib/runnable.js:216:7) | |
at Runner.runTest (/Users/sane/work/js-study/node-53cal-jp-scraper/node_modules/gulp-mocha/node_modules/mocha/lib/runner.js:373:10) | |
at /Users/sane/work/js-study/node-53cal-jp-scraper/node_modules/gulp-mocha/node_modules/mocha/lib/runner.js:451:12 | |
at next (/Users/sane/work/js-study/node-53cal-jp-scraper/node_modules/gulp-mocha/node_modules/mocha/lib/runner.js:298:14) | |
at /Users/sane/work/js-study/node-53cal-jp-scraper/node_modules/gulp-mocha/node_modules/mocha/lib/runner.js:308:7 | |
at next (/Users/sane/work/js-study/node-53cal-jp-scraper/node_modules/gulp-mocha/node_modules/mocha/lib/runner.js:246:23) | |
events.js:72 | |
throw er; // Unhandled 'error' event | |
^ | |
[gulp] Error in plugin 'gulp-mocha': 1 test failed. | |
at Transform.<anonymous> (/Users/sane/work/js-study/node-53cal-jp-scraper/node_modules/gulp-mocha/index.js:23:25) | |
at Runner.<anonymous> (/Users/sane/work/js-study/node-53cal-jp-scraper/node_modules/gulp-mocha/node_modules/mocha/lib/runner.js:576:5) | |
at Runner.EventEmitter.emit (events.js:117:20) | |
at /Users/sane/work/js-study/node-53cal-jp-scraper/node_modules/gulp-mocha/node_modules/mocha/lib/runner.js:583:10 | |
at /Users/sane/work/js-study/node-53cal-jp-scraper/node_modules/gulp-mocha/node_modules/mocha/lib/runner.js:517:7 | |
at next (/Users/sane/work/js-study/node-53cal-jp-scraper/node_modules/gulp-mocha/node_modules/mocha/lib/runner.js:246:23) | |
at Object._onImmediate (/Users/sane/work/js-study/node-53cal-jp-scraper/node_modules/gulp-mocha/node_modules/mocha/lib/runner.js:275:5) | |
at processImmediate [as _immediateCallback] (timers.js:336:15) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment