yargs.mjs|title=yargs dsl tests parse parses an array|occurrence=1
Frontier kind: Test frontier
unlabeled · c_ac6a0d33cf17
18 tests · 2361 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
Introduces — evidence that enters the hierarchy at this concept
- Code
- 0 ranges0 lines · 0 files
- Tests
- 1 test
Contains — complete concept membership
- All code (extent)
- 443 ranges2361 lines · 18 files · Browse complete extent
- All tests (intent)
- 18 testsBrowse complete intent
Neighbourhood graph
The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.
- Focus concept
- Ancestors (broader)
- Descendants (narrower)
- Introduced files
- Introduced tests
Introduced files, introduced tests, and structurally relevant concept specialization
In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.
Native relationship evidence
Every exact file and test below is linked only from the concept that introduces it.
- yargs.mjs|title=yargs dsl tests parse parses an array|occurrence=1 — Focused concept Introduced tests:
- yargs.mjs|title=yargs dsl tests "nargs" with "array" should apply nargs with higher precedence than requiresArg()|occurrence=1 — Ancestor (broader) Introduced tests:
- yargs.mjs|title=yargs dsl tests should ignore a missing array choice with an empty default|occurrence=1 — Ancestor (broader) Introduced tests:
- yargs.mjs|title=yargs dsl tests should allow a valid choice|occurrence=1 — Ancestor (broader) Introduced tests:
- yargs.mjs|title=yargs dsl tests skipValidation does not skip validation if no option with skipValidation is present|occurrence=1 — Ancestor (broader) Introduced tests:
- validation.mjs|title=validation tests demandOption allows an array of options to be demanded|occurrence=1 — Ancestor (broader) Introduced tests:
- validation.ts ×1 — Ancestor (broader) Introduced files: Introduced tests:
- yargs-factory.ts ×1 — Ancestor (broader) Introduced files: Introduced tests:
-
validation.mjs|title=validation tests choices fails with one invalid value|occurrence=1, validation.mjs|title=validation tests choices fails with case-insensitive value|occurrence=1, +3 — Ancestor (broader)
Introduced tests:
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/validation.mjs|title=validation tests choices fails with case-insensitive value|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/validation.mjs|title=validation tests choices fails with multiple invalid arguments|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/validation.mjs|title=validation tests choices fails with multiple invalid values for same argument|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/validation.mjs|title=validation tests choices fails with one invalid value|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/validation.mjs|title=validation tests choices fails with one valid and one invalid value|occurrence=1
- validation.mjs|title=validation tests conflicts fails if argument is supplied along with either conflicting argument|occurrence=1 — Ancestor (broader) Introduced tests:
- validation.ts ×1 — Ancestor (broader) Introduced files: Introduced tests:
- yargs.mjs|title=yargs dsl tests parsing --value as a value in -f=--value and --bar=--value should work with array|occurrence=1 — Ancestor (broader) Introduced tests:
-
yargs.mjs|title=yargs dsl tests normalize normalizes paths passed as arguments|occurrence=1, yargs.mjs|title=yargs dsl tests normalize normalizes path when when it is updated|occurrence=1 — Ancestor (broader)
Introduced tests:
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/yargs.mjs|title=yargs dsl tests normalize normalizes path when when it is updated|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/yargs.mjs|title=yargs dsl tests normalize normalizes paths passed as arguments|occurrence=1
-
yargs.mjs|title=yargs dsl tests parse parses a quoted string|occurrence=1, yargs.mjs|title=yargs dsl tests parse parses a simple string|occurrence=1, +2 — Descendant (narrower)
Introduced tests:
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:esm|file=test/esm/yargs-test.mjs|title=ESM parser parses process.argv by default|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/yargs.mjs|title=yargs dsl tests parse parses a quoted string|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/yargs.mjs|title=yargs dsl tests parse parses a simple string|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/yargs.mjs|title=yargs dsl tests parsed should not be false after parsing|occurrence=1
- yargs.mjs|title=yargs dsl tests should not pollute the prototype does not pollute, when .parse() is called|occurrence=1 — Descendant (narrower) Introduced tests:
- validation.ts ×4 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×2 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×1 — Descendant (narrower) Introduced files:
- validation.ts ×4 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×2 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×2 — Descendant (narrower) Introduced files:
- maybe-async-result.ts ×4 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×2 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×1 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×1 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×2 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×1 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×3 — Descendant (narrower) Introduced files:
- usage.ts ×2 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×1 — Descendant (narrower) Introduced files:
- middleware.ts ×3 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×3 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×2 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×2 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×1 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×5 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×5 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×5 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×1 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×1 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×2 — Descendant (narrower) Introduced files:
- usage.ts ×1 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×9 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×1 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×1 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×1 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×1 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×1 — Descendant (narrower) Introduced files:
-
yargs.mjs|title=yargs dsl tests showHidden should have a default show-hidden private option pre-configured|occurrence=1, yargs.mjs|title=yargs dsl tests showHidden should not have show-hidden as an actual option described by default|occurrence=1 — Descendant (narrower)
Introduced tests:
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/yargs.mjs|title=yargs dsl tests showHidden should have a default show-hidden private option pre-configured|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/yargs.mjs|title=yargs dsl tests showHidden should not have show-hidden as an actual option described by default|occurrence=1
-
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
Introduced tests:
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests $0 is detected correctly when argv contains "iojs"|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests $0 is detected correctly when argv contains "iojs.exe"|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests $0 is detected correctly when argv contains "node"|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests $0 is detected correctly when argv contains "node.exe"|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests $0 is detected correctly when dirname and argv contain "iojs"|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests $0 is detected correctly when dirname and argv contain "node"|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests $0 is not resolved to the relative path if it is larger|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests $0 is resolved to the relative path if it is shorter|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/yargs.mjs|title=yargs dsl tests parsed should be false before parsing|occurrence=1
- yargs-factory.ts ×2 — Descendant (narrower) Introduced files:
- command.ts ×1 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×1 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×1 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×1 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×1 — Descendant (narrower) Introduced files:
- yargs-factory.ts ×35 — Descendant (narrower) Introduced files:
-
yargs-factory.ts ×124 — Descendant (narrower)
Introduced files:
- lib/command.ts
- lib/completion-templates.ts
- lib/completion.ts
- lib/middleware.ts
- lib/usage.ts
- lib/utils/levenshtein.ts
- lib/utils/maybe-async-result.ts
- lib/utils/set-blocking.ts
- lib/validation.ts
- lib/yargs-factory.ts
- argsert.ts ×1 — Descendant (narrower) Introduced files: Introduced tests:
- argsert.ts ×1 — Descendant (narrower) Introduced files: Introduced tests:
-
argsert.mjs|title=Argsert allows for any type if * is provided|occurrence=1, argsert.mjs|title=Argsert should ignore trailing undefined values|occurrence=1 — Descendant (narrower)
Introduced tests:
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/argsert.mjs|title=Argsert allows for any type if * is provided|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/argsert.mjs|title=Argsert should ignore trailing undefined values|occurrence=1
- argsert.ts ×1 — Descendant (narrower) Introduced files:
- argsert.ts ×1 — Descendant (narrower) Introduced files:
- argsert.ts ×1 — Descendant (narrower) Introduced files:
- argsert.ts ×1 — Descendant (narrower) Introduced files:
- argsert.ts ×1 — Descendant (narrower) Introduced files: Introduced tests:
- argsert.ts ×2 — Descendant (narrower) Introduced files:
- argsert.ts ×3 — Descendant (narrower) Introduced files:
- parse-command.ts ×1 — Descendant (narrower) Introduced files:
- parse-command.ts ×1 — Descendant (narrower) Introduced files:
- parse-command.ts ×3 — Descendant (narrower) Introduced files:
- process-argv.ts ×1 — Descendant (narrower) Introduced files:
- process-argv.ts ×3 — Descendant (narrower) Introduced files:
- argsert.ts ×1 — Descendant (narrower) Introduced files:
-
apply-extends.ts ×4 — Descendant (narrower)
Introduced files:
Introduced tests:
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:esm|file=test/esm/helpers.mjs|title=helpers Parser exposes functional argument parser|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/parser.mjs|title=should expose yargs-parser as Parser|occurrence=1
- argsert.ts ×4 — Descendant (narrower) Introduced files:
- obj-filter.ts ×2 — Descendant (narrower) Introduced files:
- argsert.ts ×3 — Descendant (narrower) Introduced files:
- common-types.ts ×4 — Descendant (narrower) Introduced files:
-
process-argv.ts ×5 — Descendant (narrower)
Introduced files:
Introduced tests:
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:esm|file=test/esm/platform-shim-test.mjs|title=platform-shim y18n __ behaves like sprintf|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:esm|file=test/esm/platform-shim-test.mjs|title=platform-shim y18n __n uses first string if singular|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:esm|file=test/esm/platform-shim-test.mjs|title=platform-shim y18n __n uses second string if plural|occurrence=1
-
is-promise.ts ×2 — Descendant (narrower)
Introduced files:
Introduced tests:
mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/is-promise.mjs|title=isPromise returns `false` if passed object has no `then` property|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/is-promise.mjs|title=isPromise returns `false` if some falsy value is passed|occurrence=1mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/is-promise.mjs|title=isPromise returns `false` on non promise value|occurrence=1
- parse-command.ts ×1 — Descendant (narrower) Introduced files: Introduced tests:
- parse-command.ts ×2 — Descendant (narrower) Introduced files:
- yerror.ts ×2 — Descendant (narrower) Introduced files:
- is-promise.ts ×1 — Descendant (narrower) Introduced files:
Introduced tests
Every collected test enters the hierarchy at exactly one concept.
1 test introduced at this concept.
Introduced code
Every collected source range enters the hierarchy at exactly one concept.
No code is introduced at this concept. Its 443 extent ranges are introduced by other concepts.