19 lines
429 B
JavaScript
19 lines
429 B
JavaScript
var vows = require('../../../lib/vows'),
|
|
assert = require('assert');
|
|
|
|
var obvious;
|
|
vows.describe('stderr').addBatch({
|
|
'Obvious test': obvious = {
|
|
topic: function () {
|
|
this.callback(null, true);
|
|
},
|
|
'should work': function (result) {
|
|
console.log('oh no!');
|
|
assert.ok(result);
|
|
}
|
|
},
|
|
'Obvious test #2': obvious,
|
|
'Obvious test #3': obvious,
|
|
'Obvious test #4': obvious
|
|
}).export(module);
|