From 412954fd260f17976a450bd3b252a5d7e2488a64 Mon Sep 17 00:00:00 2001 From: Jay Bell Date: Tue, 19 Jan 2021 09:42:52 -0800 Subject: [PATCH] chore: export LogEntry from jest-console (#11017) --- CHANGELOG.md | 1 + packages/jest-console/src/index.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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)) 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';