Skip to content

Commit 09506a3

Browse files
authored
chore(test-result): remove deprecated sourcemap property (#10355)
1 parent 196e573 commit 09506a3

File tree

4 files changed

+0
-7
lines changed

4 files changed

+0
-7
lines changed

packages/jest-circus/src/legacy-code-todo-rewrite/jestAdapterInit.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ export const runAndTransformResultsToJestFormat = async ({
259259
numPassingTests,
260260
numPendingTests,
261261
numTodoTests,
262-
sourceMaps: {},
263262
testExecError,
264263
testFilePath: testPath,
265264
testResults: assertionResults,

packages/jest-core/src/ReporterDispatcher.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ export default class ReporterDispatcher {
4747
}
4848

4949
// Release memory if unused later.
50-
testResult.sourceMaps = undefined;
5150
testResult.coverage = undefined;
5251
testResult.console = undefined;
5352
}

packages/jest-test-result/src/helpers.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ export const buildFailureTestResult = (
7272
unmatched: 0,
7373
updated: 0,
7474
},
75-
sourceMaps: {},
7675
testExecError: err,
7776
testFilePath: testPath,
7877
testResults: [],

packages/jest-test-result/src/types.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,6 @@ export type TestResult = {
113113
unmatched: number;
114114
updated: number;
115115
};
116-
// TODO - Remove in Jest 26
117-
sourceMaps?: {
118-
[sourcePath: string]: string;
119-
};
120116
testExecError?: SerializableError;
121117
testFilePath: Config.Path;
122118
testResults: Array<AssertionResult>;

0 commit comments

Comments
 (0)