first commit
This commit is contained in:
18
node_modules/vows/test/fixtures/isolate/failing.js
generated
vendored
Normal file
18
node_modules/vows/test/fixtures/isolate/failing.js
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
var vows = require('../../../lib/vows'),
|
||||
assert = require('assert');
|
||||
|
||||
var obvious;
|
||||
vows.describe('failing').addBatch({
|
||||
'Obvious test': obvious = {
|
||||
topic: function () {
|
||||
this.callback(null, false);
|
||||
},
|
||||
'should work': function (result) {
|
||||
assert.ok(result);
|
||||
}
|
||||
// but it won't
|
||||
},
|
||||
'Obvious test #2': obvious,
|
||||
'Obvious test #3': obvious,
|
||||
'Obvious test #4': obvious
|
||||
}).export(module);
|
18
node_modules/vows/test/fixtures/isolate/log.js
generated
vendored
Normal file
18
node_modules/vows/test/fixtures/isolate/log.js
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
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);
|
17
node_modules/vows/test/fixtures/isolate/passing.js
generated
vendored
Normal file
17
node_modules/vows/test/fixtures/isolate/passing.js
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
var vows = require('../../../lib/vows'),
|
||||
assert = require('assert');
|
||||
|
||||
var obvious;
|
||||
vows.describe('passing').addBatch({
|
||||
'Obvious test': obvious = {
|
||||
topic: function () {
|
||||
this.callback(null, true);
|
||||
},
|
||||
'should work': function (result) {
|
||||
assert.ok(result);
|
||||
}
|
||||
},
|
||||
'Obvious test #2': obvious,
|
||||
'Obvious test #3': obvious,
|
||||
'Obvious test #4': obvious
|
||||
}).export(module);
|
18
node_modules/vows/test/fixtures/isolate/stderr.js
generated
vendored
Normal file
18
node_modules/vows/test/fixtures/isolate/stderr.js
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
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.error('oh no!');
|
||||
assert.ok(result);
|
||||
}
|
||||
},
|
||||
'Obvious test #2': obvious,
|
||||
'Obvious test #3': obvious,
|
||||
'Obvious test #4': obvious
|
||||
}).export(module);
|
16
node_modules/vows/test/fixtures/supress-stdout/output.js
generated
vendored
Normal file
16
node_modules/vows/test/fixtures/supress-stdout/output.js
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
var vows = require('../../../lib/vows'),
|
||||
assert = require('assert');
|
||||
|
||||
vows.describe('output').addBatch({
|
||||
'outputting': {
|
||||
topic: function () {
|
||||
console.log('goo');
|
||||
this.callback(null, true);
|
||||
},
|
||||
'should work': function (result) {
|
||||
console.log('goo');
|
||||
assert.ok(result);
|
||||
}
|
||||
},
|
||||
}).export(module);
|
||||
|
Reference in New Issue
Block a user