Skip to content

Commit

Permalink
style: autolint
Browse files Browse the repository at this point in the history
  • Loading branch information
noomorph committed Dec 17, 2024
1 parent b64befd commit 1bb8be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/jestUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ export function isSingleWorker(config: Config.GlobalConfig) {

export function isInsideIDE(config: Config.GlobalConfig) {
const isSingleReporter = config.reporters && config.reporters.length === 1;
const singleReporter = isSingleReporter ? config.reporters?.[0]?.[0] ?? '' : '';
const singleReporter = isSingleReporter ? (config.reporters?.[0]?.[0] ?? '') : '';
return /jest-intellij/i.test(singleReporter);
}

0 comments on commit 1bb8be3

Please sign in to comment.