Skip to content

Commit a735ad3

Browse files
committed
Move go test since it cannot run on github action.
1 parent ea2b321 commit a735ad3

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,15 @@ import { getCurrentValueForPosition } from '../../inspect';
77
suite('Test golang compatibility', function () {
88
this.timeout(600_000);
99

10-
this.beforeAll(async (done) => {
10+
this.beforeAll(async () => {
1111
await vscode.commands.executeCommand('workbench.action.closeAllEditors');
1212
// install extensions
1313
let tries = 3;
1414
while (!vscode.extensions.getExtension('golang.go') && tries-- > 0) {
15-
console.log(vscode.extensions.all.map((e) => e.id));
15+
1616
await vscode.commands.executeCommand('workbench.extensions.installExtension', 'golang.go');
1717
}
1818
await vscode.extensions.getExtension('golang.go')!.activate();
19-
done();
2019
});
2120

2221
this.afterEach(async () => {

src/test/suite/python.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,19 @@ import { getCurrentValueForPosition } from '../../inspect';
77
suite('Test python compatibility', function () {
88
this.timeout(60_000);
99

10-
this.beforeAll(async (done) => {
10+
this.beforeAll(async () => {
1111
await vscode.commands.executeCommand('workbench.action.closeAllEditors');
1212
// install extensions
1313
await vscode.commands.executeCommand('workbench.extensions.installExtension', 'ms-python.debugpy');
1414
await vscode.commands.executeCommand('workbench.extensions.installExtension', 'ms-python.python');
1515

1616
await vscode.extensions.getExtension('ms-python.debugpy')!.activate();
1717
await vscode.extensions.getExtension('ms-python.python')!.activate();
18-
done();
1918
});
2019

21-
this.afterEach(async (done) => {
20+
this.afterEach(async () => {
2221
await vscode.debug.stopDebugging();
2322
vscode.debug.removeBreakpoints(vscode.debug.breakpoints);
24-
done();
2523
});
2624

2725
this.afterAll(() => vscode.commands.executeCommand('workbench.action.closeAllEditors'));

0 commit comments

Comments
 (0)