Skip to content

Commit ee2ead3

Browse files
authored
fix: handle parseTestsInDocument promise (#474)
1 parent 7584a03 commit ee2ead3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/testController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export function configureTestController(
170170
function parseTestsInDocument(e: vscode.TextDocument) {
171171
const projectDir = workspaceTracker.getProjectDirForUri(e.uri);
172172
if (projectDir && filterTestFile(e.uri, projectDir)) {
173-
parseTestsInFileContents(getOrCreateFile(e.uri, projectDir));
173+
void parseTestsInFileContents(getOrCreateFile(e.uri, projectDir));
174174
}
175175
}
176176

0 commit comments

Comments
 (0)