Skip to content

Commit

Permalink
Typo fix (#986)
Browse files Browse the repository at this point in the history
* fix: typo

* fix lint error

Co-authored-by: ConnectDotz <vsun@connectdotz.com>
  • Loading branch information
antonk52 and connectdotz committed Jan 15, 2023
1 parent faa1dc4 commit 605a485
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/test-provider/test-provider.ts
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 605a485

Please sign in to comment.