Skip to content

Commit

Permalink
Update go.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
K0IN committed Jul 30, 2024
1 parent 60eb4f7 commit 7f042d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/suite/go.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { getCurrentValueForPosition } from '../../inspect';
suite('Test golang compatibility', function () {
this.timeout(600_000);

this.beforeAll(async () => {
this.beforeAll(async (done) => {
await vscode.commands.executeCommand('workbench.action.closeAllEditors');
// install extensions
let tries = 3;
Expand All @@ -16,6 +16,7 @@ suite('Test golang compatibility', function () {
await vscode.commands.executeCommand('workbench.extensions.installExtension', 'golang.go');
}
await vscode.extensions.getExtension('golang.go')!.activate();
done();
});

this.afterEach(async () => {
Expand Down

0 comments on commit 7f042d6

Please sign in to comment.