handlebars lekcja 1

This commit is contained in:
aplikacje committed 2026-10-08 10:51:15 +02:00
1 parent e42104c4fb
commit 527e0a34bb
1265 files changed
+213278

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
'use strict';
var parse = require('../');
var test = require('tape');
test('stops parsing on the first non-option when stopEarly is set', function (t) {
var argv = parse(['--aaa', 'bbb', 'ccc', '--ddd'], {
stopEarly: true,
});
t.deepEqual(argv, {
aaa: 'bbb',
_: ['ccc', '--ddd'],
});
t.end();
});