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
Why: integration tests run against the webpack bundle (dist/extension.js), so they can't import state.ts and see the running extension. Polling getDiagnostics can't tell "no errors" apart from "the server crashed" or "it hasn't finished yet". The server catches verifier exceptions, clears diagnostics and sends a failure.
What: return an object from activate(), without changing behaviour:
ready: a promise that resolves once the language client has started
onDiagnostics: fires when liquidjava/diagnostics arrives, including when it's empty
Activity
Expose the running extension API for integration tests (#143)