first commit

This commit is contained in:
s.golasch
2023-08-01 13:49:46 +02:00
commit 1fc239fd54
20238 changed files with 3112246 additions and 0 deletions

20
build/node_modules/module-deps/test/dotdot.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
var mdeps = require('../');
var test = require('tap').test;
var through = require('through2');
var path = require('path');
test('dotdot', function (t) {
var expected = [
path.join(__dirname, '/dotdot/index.js'),
path.join(__dirname, '/dotdot/abc/index.js')
];
t.plan(expected.length);
var d = mdeps();
d.end(path.join(__dirname, '/dotdot/abc/index.js'));
d.pipe(through.obj(function (row, enc, next) {
t.deepEqual(row.file, expected.shift());
next();
}));
});