This repo replicates a bug lodged here: microsoft/vscode#178184
Hover sequences are different at runtime vs testtime.
To demonstrate:
- Run this extension in extensionHost using F5.  Open the src/extension.tsfile and hover over the method nameactivate. You should see the typescript hover information and asHello!message at the bottom, this is as expected.
- Run the extension tests.  The tests will fail as the first hover result contains Hello- however this should be last, as it is visually in the UI.