Skip to content

Commit 7654218

Browse files
committed
Fix hang
1 parent ff1c6a9 commit 7654218

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/test/suite/automation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { Uri, commands, window, workspace } from 'vscode';
1010
// but we need somewhere to put temp files.
1111
const WORKSPACE_FOLDER = fs.mkdtempSync(`${os.tmpdir()}${path.sep}vscode-syntax-tree-`);
1212

13-
// may be harmful in CI
13+
// Harmful in CI: causes the test to hang w/ popup dialog & dupe formatters
1414
export async function startExtension() {
1515
await commands.executeCommand('syntaxTree.start');
1616
}

src/test/suite/index.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ end
1616
`;
1717

1818
suite('Syntax Tree', () => {
19-
before(auto.startExtension);
19+
// Harmful in CI: causes the test to hang w/ popup dialog & dupe formatters
20+
//before(auto.startExtension);
2021
test('Format Document', async () => {
2122
await auto.closeAll();
2223
const editor = await auto.createEditor(UNFORMATTED);

0 commit comments

Comments
 (0)