mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 16:18:58 +01:00
add additional logging
This commit is contained in:
@@ -93,8 +93,8 @@ Adipisicing voluptate commodo sunt esse velit eu. Eu labore nisi adipisicing mag
|
||||
|
||||
// the timeout should occur
|
||||
try {
|
||||
await asPromise(vscode.workspace.onDidOpenTextDocument, 5000);
|
||||
assert.fail('The language should not have changed.');
|
||||
const language = await asPromise(vscode.workspace.onDidOpenTextDocument, 5000);
|
||||
assert.fail(`The language should not have changed to: ${language.languageId}`);
|
||||
} catch (e) {
|
||||
assert.strictEqual(e.toString(), 'Error: asPromise TIMEOUT reached');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user