From bcd0d0cd165611b3561ea97b57bef10691300c71 Mon Sep 17 00:00:00 2001 From: jaybell Date: Tue, 19 Jan 2021 08:36:14 -0800 Subject: [PATCH 1/2] chore: export LogEntry from jest-console --- packages/jest-console/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jest-console/src/index.ts b/packages/jest-console/src/index.ts index 8568eec26786..65a362aa2e0a 100644 --- a/packages/jest-console/src/index.ts +++ b/packages/jest-console/src/index.ts @@ -9,4 +9,4 @@ export {default as BufferedConsole} from './BufferedConsole'; export {default as CustomConsole} from './CustomConsole'; export {default as NullConsole} from './NullConsole'; export {default as getConsoleOutput} from './getConsoleOutput'; -export type {ConsoleBuffer, LogMessage, LogType} from './types'; +export type {ConsoleBuffer, LogMessage, LogType, LogEntry} from './types'; From fa4631abdd4be586f7076d0f02347ca9ac352e6a Mon Sep 17 00:00:00 2001 From: jaybell Date: Tue, 19 Jan 2021 08:39:52 -0800 Subject: [PATCH 2/2] chore: update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 75f2f2a810f2..11beba266b50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -64,6 +64,7 @@ - `[*]` [**BREAKING**] Remove deprecated `mapCoverage` ([#9968](https://github.com/facebook/jest/pull/9968)) - `[jest-config]` [**BREAKING**] Remove `enabledTestsMap` config, use `filter` instead ([#10787](https://github.com/facebook/jest/pull/10787)) - `[jest-console]` [**BREAKING**] Move `root` into `config` and take `GlobalConfig` as mandatory parameter for `getConsoleOutput` ([#10126](https://github.com/facebook/jest/pull/10126)) +- `[jest-console]` Export LogEntry ([#11017](https://github.com/facebook/jest/pull/11017)) - `[jest-fake-timers]` Clarify global behavior of `jest.useFakeTimers` and `jest.useRealTimers` ([#10867](https://github.com/facebook/jest/pull/10867)) - `[jest-haste-map]` [**BREAKING**] Migrate to ESM ([#10875](https://github.com/facebook/jest/pull/10875)) - `[jest-haste-map]` [**BREAKING**] Remove support for deprecated option `ignorePattern` as function ([#10348](https://github.com/facebook/jest/pull/10348))