refactor(Cypress): add nodemodules

This commit is contained in:
2021-09-02 17:18:41 +02:00
parent 1aa57bbd0a
commit bc6e1bc12e
4238 changed files with 340975 additions and 8 deletions

19
node_modules/outpipe/test/outfile.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
var outpipe = require('../');
var test = require('tape');
var fs = require('fs');
var path = require('path');
var tmpdir = require('osenv').tmpdir();
test('outfile', function (t) {
t.plan(2);
var file = path.join(tmpdir, 'outpipe-' + Math.random());
var p = outpipe(file);
p.end('wow');
p.once('exit', function () {
fs.readFile(file, 'utf8', function (err, src) {
t.ifError(err);
t.equal(src, 'wow');
});
});
});