Skip to content

Commit 5e2e8ed

Browse files
authored
chore: remove getSourceMapInfo from jest-runtime (#9969)
1 parent 460306c commit 5e2e8ed

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
- `[jest-resolve-dependencies]` [**BREAKING**] Migrate to ESM ([#10876](https://github.com/facebook/jest/pull/10876))
5252
- `[jest-mock]` [**BREAKING**] Migrate to ESM ([#10887](https://github.com/facebook/jest/pull/10887))
5353
- `[jest-runner]` [**BREAKING**] Migrate to ESM ([#10900](https://github.com/facebook/jest/pull/10900))
54+
- `[jest-runtime]` [**BREAKING**] Remove deprecated and unnused `getSourceMapInfo` from Runtime ([#9969](https://github.com/facebook/jest/pull/9969))
5455
- `[jest-util]` No longer checking `enumerable` when adding `process.domain` ([#10862](https://github.com/facebook/jest/pull/10862))
5556

5657
### Performance

packages/jest-runtime/src/index.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -924,11 +924,6 @@ export default class Runtime {
924924
});
925925
}
926926

927-
// TODO - remove in Jest 27
928-
getSourceMapInfo(_coveredFiles: Set<string>): Record<string, string> {
929-
return {};
930-
}
931-
932927
getSourceMaps(): SourceMapRegistry {
933928
return fromEntries(this._sourceMapRegistry);
934929
}

0 commit comments

Comments
 (0)