Skip to content

Instantly share code, notes, and snippets.

@c089
Created July 17, 2012 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save c089/3129304 to your computer and use it in GitHub Desktop.
Save c089/3129304 to your computer and use it in GitHub Desktop.
Buster exit code is 0 when tests fail
var buster = require('buster');
var config = module.exports;
config['node tests'] = {
environment: 'node',
tests: [ 'fail.js' ]
};
var buster = require('buster');
var assert = buster.assertions.assert;
buster.testCase('foo', {
'bar': function() {
assert.isTrue(false);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment