Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up☂️ Missing Tests #1023
☂️ Missing Tests #1023
Comments
|
I'm going to look into js-ast-utils/isBinary.ts now |
|
I'm adding tests for js-ast-utils/isFor |
|
I'm also adding tests for codec-source-map/ArraySet.ts Should I start collapsing these posts into one and edit accordingly? |
|
Sorry I didn't have time to review the list of tests in the issue body. We don't need tests for basic methods that are just refining types, they are extremely excessive and will be implicitly integration tested elsehwere. |
|
@nt591 Feel free to batch them up into a single PR, whatever's easiest. If you're only adding new files then you shouldn't need to worry about merge conflcits at all! Thank you for doing this work! |
|
Also when implementing any tests that operate on an AST, preferably inline the AST itself by manually constructing it with the
|
|
They've been removed. |
|
i'm going to look into |
|
I will take |
Oh that's really bizzare, that shouldn't be there... Want to open a PR to remove it? TypeScript checks should be enough to validate it's not used anywhere. |
|
Thank you so much everyone for the PRs! I really appreciate it, especially since you've all written them without any context. I've long neglected tests for most of the code I've written since it's been a colossal effort to build it in the first place. |
|
I think I will give a try to the things under
|
|
i will give a try at |
|
will try |
|
I'd like to take js-ast-utils/tryStaticEvaluation.ts |
|
I'll work on |
|
I'll take |
List of all missing tests that need to be done.
If any of them are not worth having test or some are missing, please comment.
A⚙️ indicates they are being worked on.
A checkmark indicates an open PR.