You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed the RuleTester detection logic seems to trip up on what I'd consider common or easy to support cases - the latest was that it didn't flag this test as duplicated because I've got the tests wrapped in a describe.
I think there was at least another instance where it didn't seem to pick up alternative names, but it's been a while so can't remember the details.
I've not yet had the time to dig into this that deeply but wanted to open this issue in the meantime to get some discussion going - I'm happy to help with trying to improve the logic.
The text was updated successfully, but these errors were encountered:
That and at least the test case properties rules as they're also impacted in the same way. I've not had the time yet to do any real testing to check how many rules it affects, and to come up with some common cases I think it would be nice to try and support (it might turn out that this is the main one that's easy to do 🤷)
I've noticed the
RuleTester
detection logic seems to trip up on what I'd consider common or easy to support cases - the latest was that it didn't flag this test as duplicated because I've got the tests wrapped in adescribe
.e.g.
I think there was at least another instance where it didn't seem to pick up alternative names, but it's been a while so can't remember the details.
I've not yet had the time to dig into this that deeply but wanted to open this issue in the meantime to get some discussion going - I'm happy to help with trying to improve the logic.
The text was updated successfully, but these errors were encountered: