Issafalcon / neotest-dotnet

Neotest adapter for dotnet
MIT License
73 stars 29 forks source link

fix(xunit): TS query for Fact attribute #97

Closed amcoder closed 7 months ago

amcoder commented 7 months ago

When another attribute comes after Fact or ClassData, such as Trait, the TS query was not selecting that test. This fixes the TS query so that it allows other attributes after the test attribute.

Fixes #96

amcoder commented 7 months ago

I don't know tree-sitter queries very well, so if there is a better way to do this let me know!