mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 16:18:58 +01:00
run active editor test only when having focus
This commit is contained in:
@@ -150,6 +150,13 @@ suite('vscode API - window', () => {
|
||||
});
|
||||
|
||||
test('active editor not always correct... #49125', async function () {
|
||||
|
||||
if (!window.state.focused) {
|
||||
// no focus!
|
||||
this.skip();
|
||||
return;
|
||||
}
|
||||
|
||||
if (process.env['BUILD_SOURCEVERSION']) {
|
||||
this.skip();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user