diff --git a/packages/jest-circus/src/legacy-code-todo-rewrite/jestAdapterInit.ts b/packages/jest-circus/src/legacy-code-todo-rewrite/jestAdapterInit.ts index f55934f558f5..61c68b332117 100644 --- a/packages/jest-circus/src/legacy-code-todo-rewrite/jestAdapterInit.ts +++ b/packages/jest-circus/src/legacy-code-todo-rewrite/jestAdapterInit.ts @@ -259,7 +259,6 @@ export const runAndTransformResultsToJestFormat = async ({ numPassingTests, numPendingTests, numTodoTests, - sourceMaps: {}, testExecError, testFilePath: testPath, testResults: assertionResults, diff --git a/packages/jest-core/src/ReporterDispatcher.ts b/packages/jest-core/src/ReporterDispatcher.ts index de69ec7d1d40..e6f5aa71c06d 100644 --- a/packages/jest-core/src/ReporterDispatcher.ts +++ b/packages/jest-core/src/ReporterDispatcher.ts @@ -47,7 +47,6 @@ export default class ReporterDispatcher { } // Release memory if unused later. - testResult.sourceMaps = undefined; testResult.coverage = undefined; testResult.console = undefined; } diff --git a/packages/jest-test-result/src/helpers.ts b/packages/jest-test-result/src/helpers.ts index 33233f6cc32f..a749a8c33d53 100644 --- a/packages/jest-test-result/src/helpers.ts +++ b/packages/jest-test-result/src/helpers.ts @@ -72,7 +72,6 @@ export const buildFailureTestResult = ( unmatched: 0, updated: 0, }, - sourceMaps: {}, testExecError: err, testFilePath: testPath, testResults: [], diff --git a/packages/jest-test-result/src/types.ts b/packages/jest-test-result/src/types.ts index d31721d6b231..b75b3846a4c4 100644 --- a/packages/jest-test-result/src/types.ts +++ b/packages/jest-test-result/src/types.ts @@ -113,10 +113,6 @@ export type TestResult = { unmatched: number; updated: number; }; - // TODO - Remove in Jest 26 - sourceMaps?: { - [sourcePath: string]: string; - }; testExecError?: SerializableError; testFilePath: Config.Path; testResults: Array;