pkgjs / parseargs

Polyfill of `util.parseArgs()`
Apache License 2.0
121 stars 9 forks source link

chore: add new test from upstream #133

Closed shadowspawn closed 2 years ago

shadowspawn commented 2 years ago

We have 100% coverage in this repo (175 tests), but have only copied up the 72 end-to-end tests in test/index.js which does not reach 100%. One case has been added upstream.

https://github.com/nodejs/node/pull/43358/files

(I am interested in a big refactor of the tests to make the coverage clearer, but lower hanging fruit currently!)