fix: Teststarter false positives detection#990
Conversation
|
Fixing false positives causes more warnings in our fixtures? Is that really the expected outcome? 🤔 |
I think this is caused by the fact that now every script tag is reported when no script tag indicates a use of the test starter. In the fixture, 3 scripts are included. Not sure whether this approach is helpful for developers. I understand that we can't easily pick the one script that should be changed. But wouldn't it be sufficient to create a single message for the whole HTML file? |
8ba2266 to
f158970
Compare
|
Any update here? I should have explained my doubts more clearly. What surprised me is that there are now more messages for files where a message was already reported. To me this is unexpected and adds more false positives, as the concept can only be applied once per file, so I would expect only one message per file. Using the first script tag for the message seems reasonable to me (or whatever the current behaviour was). |
Sorry, I've missed your comments! |
🚜 New release prepared --- ## [1.20.12](v1.20.11...v1.20.12) (2026-02-27) ### Bug Fixes * Teststarter false positives detection ([#990](#990)) ([71cb989](71cb989)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
fixes: #972