Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CLI arg parsing test failures by resetting Yargs
The Yargs library (https://yargs.js.org/) has been giving me a lot of trouble due to unclear docs and “magic” behavior such as wrapping errors my code throws and keeping global state that needs to be reset. Next time I add arg parsing to a program, I won’t use Yargs.
- Loading branch information
Showing
2 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters