-
-
Notifications
You must be signed in to change notification settings - Fork 14
🧪 Tests: Add tests for remaining functions in src/flags.ts #13
Copy link
Copy link
Open
Labels
area: testingImproving how the repository's tests are run and/or code is tested 🧪Improving how the repository's tests are run and/or code is tested 🧪good first issueGood for newcomers, please hop on! 🙌Good for newcomers, please hop on! 🙌status: accepting prsPlease, send a pull request to resolve this! 🙏Please, send a pull request to resolve this! 🙏
Metadata
Metadata
Assignees
Labels
area: testingImproving how the repository's tests are run and/or code is tested 🧪Improving how the repository's tests are run and/or code is tested 🧪good first issueGood for newcomers, please hop on! 🙌Good for newcomers, please hop on! 🙌status: accepting prsPlease, send a pull request to resolve this! 🙏Please, send a pull request to resolve this! 🙏
Bug Report Checklist
mainbranch of the repository.Overview
#6 added a first round of unit tests. Let's add some more tests! 🙌
The
src/flags.tsfile is not yet tested. This issue tracks adding in tests for its exported functions.Additional Info
See #6 for examples of tests: including those that work with AST nodes and/or type checking.
There might be existing tests in https://github.com/ajafff/tsutils that are relevant here. If you do find them, it's fine to copy & paste them over - as long as there's a comment like this above any area of copy & pasted code (or on top of a file if the entire file is copy & pasted):