Skip to content

Commit

Permalink
Merge 4efad91 into 0b5a41f
Browse files Browse the repository at this point in the history
  • Loading branch information
connectdotz committed Jan 15, 2023
2 parents 0b5a41f + 4efad91 commit ea38de5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/JestExt/core.ts
Expand Up @@ -533,6 +533,7 @@ export class JestExt {
...this.buildMessageActions([actionType, 'disable-folder', 'help'])
);
this.extContext.output.write(`Abort jest session: ${msg}`, 'error');
this.updateStatusBar({ state: 'exec-error' });
return 'fail';
}
/* istanbul ignore next */
Expand Down
1 change: 1 addition & 0 deletions tests/JestExt/core.test.ts
Expand Up @@ -1376,6 +1376,7 @@ describe('JestExt', () => {
expect(messaging.systemErrorMessage).not.toHaveBeenCalled();
} else {
expect(messaging.systemErrorMessage).toHaveBeenCalled();
expect(sbUpdateMock).toHaveBeenCalledWith({ state: 'exec-error' });
}
}
});
Expand Down

0 comments on commit ea38de5

Please sign in to comment.