Skip to content

Commit b3e39bf

Browse files
committed
Ensure store test is empty before resolving in tests
1 parent d615deb commit b3e39bf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

vscode/src/test/suite/testController.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ suite("TestController", () => {
429429
};
430430

431431
sandbox.stub(workspace, "lspClient").value(fakeClient);
432+
storeTest.children.replace([]);
432433
await controller.testController.resolveHandler!(storeTest);
433434

434435
const excludedExample = await controller.findTestItem(

0 commit comments

Comments
 (0)