run active editor test only when having focus
This commit is contained in:
parent
2d6c2d0b2d
commit
5236d34460
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue