run active editor test only when having focus

This commit is contained in:
Johannes Rieken 2021-02-15 11:40:21 +01:00
parent 2d6c2d0b2d
commit 5236d34460

View file

@ -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;