File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export class TestRunner extends vscode.Disposable {
4848 log . verbose ?.( 'Not starting the runner because tests are being collected for' , ...files . map ( f => this . relative ( f ) ) )
4949 }
5050 else {
51- log . verbose ?.( 'The runner is starting because tests ' , ...files . map ( f => this . relative ( f ) ) , 'were started due to a file change' )
51+ log . verbose ?.( 'Starting a test run because' , ...files . map ( f => this . relative ( f ) ) , 'were started due to a file change' )
5252 this . startTestRun ( files )
5353 }
5454 } )
@@ -135,7 +135,8 @@ export class TestRunner extends vscode.Disposable {
135135 if ( unhandledError )
136136 testRun . appendOutput ( formatTestOutput ( unhandledError ) )
137137
138- this . endTestRun ( )
138+ if ( ! collecting )
139+ this . endTestRun ( )
139140 } )
140141
141142 api . onConsoleLog ( ( { content, taskId } ) => {
You can’t perform that action at this time.
0 commit comments