generated from JoshuaKGoldberg/create-typescript-app
-
-
Notifications
You must be signed in to change notification settings - Fork 8
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! 🙏
Description
Bug Report Checklist
- I have tried restarting my IDE and the issue persists.
- I have pulled the latest
main
branch of the repository. - I have searched for related issues and found none that matched my issue.
Overview
#6 added a first round of unit tests. Let's add some more tests! 🙌
The src/nodes
folder is not yet fully tested. This issue tracks adding in tests for the rest of 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):
// Code largely based on https://github.com/ajafff/tsutils
// Original license: https://github.com/ajafff/tsutils/blob/26b195358ec36d59f00333115aa3ffd9611ca78b/LICENSE
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! 🙏