Skip to content

Commit

Permalink
refactor(lint): fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nicojs committed Apr 21, 2021
1 parent c610223 commit 969201e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/core/src/reporters/mutation-test-report-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export class MutationTestReportHelper {
const fileResult = acc[mutantResult.fileName] ?? (acc[mutantResult.fileName] = this.toFileResult(mutantResult.fileName));
fileResult.mutants.push(this.toMutantResult(mutantResult, remapTestIds));
return acc;
}, Object.create(null));
}, {});
}

private toTestFiles(remapTestId: (id: string) => string): schema.TestFileDefinitionDictionary {
Expand All @@ -162,7 +162,7 @@ export class MutationTestReportHelper {
const testFile = acc[fileName] ?? (acc[fileName] = this.toTestFile(fileName));
testFile.tests.push(test);
return acc;
}, Object.create(null));
}, {});
}

private toFileResult(fileName: string): schema.FileResult {
Expand Down Expand Up @@ -281,6 +281,6 @@ export class MutationTestReportHelper {
acc[dependency[0]] = dependency[1];
}
return acc;
}, Object.create(null));
}, {});
}
}

0 comments on commit 969201e

Please sign in to comment.