Speed up hls-hlint-plugin-tests
Migrate hls-hlint-plugin-tests to use VirtualFileTree infrastructure for test data.
Avoid waitForDiagnosticsWithSource which makes the test wait for 5 seconds, even though it might have received the diagnostics already.
This doesn't quite work yet, as the test asserts sometimes that no diagnostic is emitted from the very beginning. However, on initial load, HLS doesn't publish empty diagnostics, so we don't know when processing finished. We probably need to insert some dummy diagnostics, and clear them.
Tests are much quicker now, 15 seconds instead of 2 minutes! Just not sure how to refactor this to make it reusable :sweat_smile:
Closing in favour of #4339