Skip to content

Instantly share code, notes, and snippets.

@magnars
Created September 22, 2014 11:15
Show Gist options
  • Save magnars/3b2f3a3eb2999d8fd9df to your computer and use it in GitHub Desktop.
Save magnars/3b2f3a3eb2999d8fd9df to your computer and use it in GitHub Desktop.
bowling-cata git:(master) ✗ buster-test
Failure: Bowling should score 0 for no hits
[assert.equals] undefined expected to be equal to 0
AssertionError: [assert.equals] undefined expected to be equal to 0
at Object.referee.fail (/Users/magnars/courses/tdd-course/practice/bowling-cata/node_modules/buster/node_modules/referee/lib/referee.js:156:25)
at Object.fail (/Users/magnars/courses/tdd-course/practice/bowling-cata/node_modules/buster/node_modules/referee/lib/referee.js:43:17)
at Function.referee.(anonymous function).(anonymous function) [as equals] (/Users/magnars/courses/tdd-course/practice/bowling-cata/node_modules/buster/node_modules/referee/lib/referee.js:86:29)
at Object.buster.testCase.should score 0 for no hits (/Users/magnars/courses/tdd-course/practice/bowling-cata/bowling-test.js:12:12)
at asyncFunction (/Users/magnars/courses/tdd-course/practice/bowling-cata/node_modules/buster/node_modules/buster-test/lib/test-runner.js:224:19)
at callTestFn (/Users/magnars/courses/tdd-course/practice/bowling-cata/node_modules/buster/node_modules/buster-test/lib/test-runner.js:334:27)
at /Users/magnars/courses/tdd-course/practice/bowling-cata/node_modules/buster/node_modules/buster-test/lib/test-runner.js:37:23
at /Users/magnars/courses/tdd-course/practice/bowling-cata/node_modules/buster/node_modules/buster-test/lib/test-runner.js:37:23
at Object.then (/Users/magnars/courses/tdd-course/practice/bowling-cata/node_modules/buster/node_modules/when/when.js:207:55)
at Object.bane.createEventEmitter.runTest (/Users/magnars/courses/tdd-course/practice/bowling-cata/node_modules/buster/node_modules/buster-test/lib/test-runner.js:629:26)
1 test, 0 assertions, 1 runtime ... 1 failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment