first commit

This commit is contained in:
developertrinidad08
2023-01-16 18:11:14 -03:00
commit 7e6cf29479
233 changed files with 26791 additions and 0 deletions

18
node_modules/vows/test/fixtures/isolate/failing.js generated vendored Normal file
View 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
View 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
View 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
View 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);

View 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);