lib

community-002 · 968 concepts · page 6 of 10

showing 100 of 968

yargs-factory.ts ×1 2 tests · 2523 LOC · 18 files · introduces 0 tests · 1 LOC · 1 file
yargs.mjs|title=yargs dsl tests should ignore a missing array choice with an empty default|occurrence=1 1 test · 2526 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.ts ×1 16 tests · 2603 LOC · 18 files · introduces 0 tests · 1 LOC · 1 file
usage.ts ×3 35 tests · 2660 LOC · 18 files · introduces 0 tests · 6 LOC · 1 file
yargs-factory.ts ×2 1 test · 2568 LOC · 18 files · introduces 1 test · 5 LOC · 1 file
command.ts ×1 10 tests · 2651 LOC · 18 files · introduces 0 tests · 8 LOC · 1 file
command.ts ×1 21 tests · 2615 LOC · 18 files · introduces 0 tests · 3 LOC · 1 file
middleware.mjs|title=middleware should run even if no command is matched|occurrence=1 1 test · 2541 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.ts ×1 21 tests · 2601 LOC · 18 files · introduces 0 tests · 1 LOC · 1 file
command.ts ×1 12 tests · 2643 LOC · 18 files · introduces 0 tests · 1 LOC · 1 file
command.ts ×4 198 tests · 2615 LOC · 18 files · introduces 0 tests · 18 LOC · 2 files
validation.ts ×1 5 tests · 2523 LOC · 18 files · introduces 0 tests · 3 LOC · 1 file
yargs-factory.ts ×1 10 tests · 2488 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
command.ts ×1 12 tests · 2561 LOC · 18 files · introduces 0 tests · 9 LOC · 1 file
command.ts ×2 12 tests · 2555 LOC · 18 files · introduces 0 tests · 5 LOC · 1 file
yargs-factory.ts ×1 1 test · 2476 LOC · 18 files · introduces 1 test · 2 LOC · 1 file
validation.mjs|title=validation tests demand fails when a required argument is missing|occurrence=1 1 test · 2487 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests should allow a valid choice|occurrence=1 2 tests · 2497 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.ts ×1 12 tests · 2560 LOC · 18 files · introduces 0 tests · 4 LOC · 1 file
command.ts ×1 7 tests · 2544 LOC · 18 files · introduces 0 tests · 1 LOC · 1 file
command.ts ×3 19 tests · 2543 LOC · 18 files · introduces 0 tests · 4 LOC · 1 file
completion.ts ×1 16 tests · 2487 LOC · 18 files · introduces 0 tests · 1 LOC · 1 file
levenshtein.ts ×2 4 tests · 2564 LOC · 18 files · introduces 0 tests · 63 LOC · 3 files
yargs-factory.ts ×1 2 tests · 2450 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
yargs.mjs|title=yargs dsl tests should allow array and requires arg to be used in conjunction|occurrence=1 1 test · 2506 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.ts ×1 24 tests · 2584 LOC · 18 files · introduces 0 tests · 1 LOC · 1 file
max demanded count shouldn't interpret the second argument as a max when it is an array|occurrence=1 3 tests · 2476 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
middleware.mjs|title=middleware async check failure allows failed check to be caught|occurrence=1 1 test · 2498 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs-factory.ts ×1 3 tests · 2464 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
validation.mjs|title=validation tests demandCommand allows a custom min message to be provided|occurrence=1 1 test · 2445 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
validation.ts ×1 3 tests · 2462 LOC · 18 files · introduces 1 test · 2 LOC · 1 file
yargs.mjs|title=yargs dsl tests config can be disabled with option shorthand|occurrence=1 1 test · 2450 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests should set alias to string if option is string|occurrence=1 1 test · 2489 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
validation.mjs|title=validation tests demand fails without a message if msg is null|occurrence=1 1 test · 2450 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs-factory.ts ×1 13 tests · 2576 LOC · 18 files · introduces 0 tests · 3 LOC · 1 file
yargs.mjs|title=yargs dsl tests number should expose an options short-hand for numbers|occurrence=1 1 test · 2484 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.ts ×1 10 tests · 2570 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
validation.ts ×2 3 tests · 2443 LOC · 18 files · introduces 0 tests · 3 LOC · 1 file
validation.ts ×3 5 tests · 2477 LOC · 18 files · introduces 0 tests · 16 LOC · 2 files
yargs.mjs|title=yargs dsl tests normalize allows key to be specified with option shorthand|occurrence=1 1 test · 2444 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
max range|occurrence=1 9 tests · 2454 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests should not require config object for an option|occurrence=1 1 test · 2441 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
completion.ts ×1 15 tests · 2525 LOC · 18 files · introduces 0 tests · 5 LOC · 1 file
usage.ts ×1 5 tests · 2550 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
validation.mjs|title=validation tests demandOption allows an array of options to be demanded|occurrence=1 1 test · 2435 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
validation.ts ×1 1 test · 2453 LOC · 18 files · introduces 1 test · 1 LOC · 1 file
validation.ts ×1 2 tests · 2456 LOC · 18 files · introduces 1 test · 2 LOC · 1 file
yargs-factory.ts ×1 1 test · 2465 LOC · 18 files · introduces 1 test · 4 LOC · 1 file
completion.ts ×6 35 tests · 2433 LOC · 18 files · introduces 0 tests · 28 LOC · 1 file
validation.mjs|title=validation tests demandCommand defaults to demanding 1 command|occurrence=1 1 test · 2435 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs-factory.ts ×1 2 tests · 2411 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
command.ts ×1 209 tests · 2562 LOC · 18 files · introduces 0 tests · 13 LOC · 1 file
middleware.mjs|title=middleware async check applies aliases prior to calling check|occurrence=1 1 test · 2475 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs-factory.ts ×1 1 test · 2464 LOC · 18 files · introduces 1 test · 5 LOC · 1 file
yargs.mjs|title=yargs dsl tests .coerce() supports an option alias|occurrence=1 6 tests · 2494 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests demand options should return valid values when demand passes|occurrence=1 5 tests · 2430 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
apply-extends.ts ×1 2 tests · 2453 LOC · 18 files · introduces 2 tests · 1 LOC · 1 file
middleware.mjs|title=middleware async check success returns promise if check is async|occurrence=1 2 tests · 2437 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests locale does not enter infinite loop when locale is invalid|occurrence=1 1 test · 2486 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
middleware.mjs|title=middleware async coerce coerce is applied to argument and aliases|occurrence=1 1 test · 2484 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests cjk should calculate width of cjk text correctly|occurrence=1 1 test · 2480 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.ts ×1 22 tests · 2531 LOC · 18 files · introduces 0 tests · 5 LOC · 1 file
validation.ts ×1 3 tests · 2417 LOC · 18 files · introduces 0 tests · 8 LOC · 1 file
validation.ts ×1 5 tests · 2410 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file