Issafalcon / neotest-dotnet

Neotest adapter for dotnet
MIT License
63 stars 20 forks source link

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

Closed amcoder closed 3 months ago

amcoder commented 3 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 3 months ago

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