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/parents/test/dirname.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
var test = require('tap').test;
var parents = require('../');
test('dirname', function (t) {
var dirs = parents('/foo/bar/baz/quux');
t.same(dirs, [
'/foo/bar/baz/quux',
'/foo/bar/baz',
'/foo/bar',
'/foo',
'/',
]);
t.end();
});
test('root', function (t) {
var dirs = parents('/');
t.same(dirs, [ '/' ]);
t.end();
});