tree-sitter / tree-sitter-javascript

Javascript grammar for tree-sitter
MIT License
318 stars 107 forks source link

Add unit tests for tags queries #215

Closed the-mikedavis closed 10 months ago

the-mikedavis commented 2 years ago

Checklist: ✅

(mostly doesn't apply as this PR just adds new unit tests)

Following up on https://github.com/tree-sitter/tree-sitter/pull/1547, this PR adds unit tests for the tags queries. Let me know if there are edge cases I missed!

~Also included is a bump to tree-sitter-cli v0.20.6 which has the new tags testing code.~

amaanq commented 10 months ago

if it would still be useful then rebase/regenerate and I can merge