tldr; make it so we can drop test/index.js into test/parallel/test-parse-args.mjs.
Refactors index.js to be able to copy paste directly into the Node.js
codebase. Note: I think it is sufficient that we continue syncing just
the tests for parseArgs() to Node.js (testing the public API. This
gives us 95% coverage today, and it would be easy to push this to
100% with a couple additional tests.
tldr; make it so we can drop
test/index.js
intotest/parallel/test-parse-args.mjs
.Refactors index.js to be able to copy paste directly into the Node.js codebase. Note: I think it is sufficient that we continue syncing just the tests for parseArgs() to Node.js (testing the public API. This gives us 95% coverage today, and it would be easy to push this to 100% with a couple additional tests.
Fixes #105