From 5e2e8ed6a7fe2f56b517f54b714fbd695cd399ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Sat, 5 Dec 2020 16:19:18 +0100 Subject: [PATCH] chore: remove getSourceMapInfo from jest-runtime (#9969) --- CHANGELOG.md | 1 + packages/jest-runtime/src/index.ts | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3643c8d0c80f..4b9a848afd7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,6 +51,7 @@ - `[jest-resolve-dependencies]` [**BREAKING**] Migrate to ESM ([#10876](https://github.com/facebook/jest/pull/10876)) - `[jest-mock]` [**BREAKING**] Migrate to ESM ([#10887](https://github.com/facebook/jest/pull/10887)) - `[jest-runner]` [**BREAKING**] Migrate to ESM ([#10900](https://github.com/facebook/jest/pull/10900)) +- `[jest-runtime]` [**BREAKING**] Remove deprecated and unnused `getSourceMapInfo` from Runtime ([#9969](https://github.com/facebook/jest/pull/9969)) - `[jest-util]` No longer checking `enumerable` when adding `process.domain` ([#10862](https://github.com/facebook/jest/pull/10862)) ### Performance diff --git a/packages/jest-runtime/src/index.ts b/packages/jest-runtime/src/index.ts index a07e5c234c14..9717ea31a2d5 100644 --- a/packages/jest-runtime/src/index.ts +++ b/packages/jest-runtime/src/index.ts @@ -924,11 +924,6 @@ export default class Runtime { }); } - // TODO - remove in Jest 27 - getSourceMapInfo(_coveredFiles: Set): Record { - return {}; - } - getSourceMaps(): SourceMapRegistry { return fromEntries(this._sourceMapRegistry); }