Skip to content

Commit

Permalink
tests: fill the tests lists on activation
Browse files Browse the repository at this point in the history
The tests list in the tests controller is only updated
when a change is detected. It's now done on activation
to list all tests from the beginning
  • Loading branch information
ylatuya committed Sep 27, 2023
1 parent e7d513c commit b2b5b3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export async function activate(ctx: vscode.ExtensionContext) {
watcher.onDidChange(changeHandler);
watcher.onDidCreate(changeHandler);
ctx.subscriptions.push(watcher);
await rebuildTests(controller);
await genEnvFile(buildDir);

// Refresh if the extension configuration is changed.
Expand Down

0 comments on commit b2b5b3c

Please sign in to comment.