Skip to content

Commit

Permalink
Merge a4a5ec0 into 2277b48
Browse files Browse the repository at this point in the history
  • Loading branch information
antonk52 committed Jan 15, 2023
2 parents 2277b48 + a4a5ec0 commit ded145b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/test-provider/test-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,9 @@ export class JestTestProvider {
cancelToken: vscode.CancellationToken
): Promise<void> => {
if (!request.profile) {
this.log('error', 'not supporting runRequest without profile', request);
return Promise.reject('cnot supporting runRequest without profile');
const message = 'not supporting runRequest without profile';
this.log('error', message, request);
return Promise.reject(message);
}
const run = this.context.createTestRun(request, { name: this.controller.id });
const tests = (request.include ?? this.getAllItems()).filter(
Expand Down

0 comments on commit ded145b

Please sign in to comment.