add CI pipeline with lint, test, build
Some checks failed
CI / build (push) Failing after 3m53s

This commit is contained in:
21_KnjazkinSO
2026-05-10 16:19:05 +03:00
parent 92843ee86c
commit 08d4cc1f80
8421 changed files with 1363645 additions and 0 deletions

24
node_modules/minimist/test/dotted.js generated vendored Normal file
View File

@@ -0,0 +1,24 @@
'use strict';
var parse = require('../');
var test = require('tape');
test('dotted alias', function (t) {
var argv = parse(['--a.b', '22'], { default: { 'a.b': 11 }, alias: { 'a.b': 'aa.bb' } });
t.equal(argv.a.b, 22);
t.equal(argv.aa.bb, 22);
t.end();
});
test('dotted default', function (t) {
var argv = parse('', { default: { 'a.b': 11 }, alias: { 'a.b': 'aa.bb' } });
t.equal(argv.a.b, 11);
t.equal(argv.aa.bb, 11);
t.end();
});
test('dotted default with no alias', function (t) {
var argv = parse('', { default: { 'a.b': 11 } });
t.equal(argv.a.b, 11);
t.end();
});