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

31
node_modules/subarg/test/arg.js generated vendored Normal file
View File

@@ -0,0 +1,31 @@
var subarg = require('../');
var test = require('tape');
test('spaced multi sub-args', function (t) {
t.plan(2);
t.deepEqual(
subarg('beep -t [ boop -o a.txt -o b.txt -q ] -v'.split(/\s+/)),
{
_: [ 'beep'],
t: {
_: [ 'boop' ],
o: [ 'a.txt', 'b.txt' ],
q: true
},
v: true
}
);
t.deepEqual(
subarg('beep -t [boop -o a.txt -o b.txt -q] -v'.split(/\s+/)),
{
_: [ 'beep'],
t: {
_: [ 'boop' ],
o: [ 'a.txt', 'b.txt' ],
q: true
},
v: true
}
);
});

24
node_modules/subarg/test/recursive.js generated vendored Normal file
View File

@@ -0,0 +1,24 @@
var subarg = require('../');
var test = require('tape');
test('recursive', function (t) {
t.plan(1);
t.deepEqual(
subarg('-a [ -b [ -c [ -d 5 ] ] ] -e 3'.split(/\s+/)),
{
_: [],
a: {
_: [],
b: {
_: [],
c: {
_: [],
d: 5
}
}
},
e: 3
}
);
});