From d9251980ac37d4620ebb0529308a77a638331b6b Mon Sep 17 00:00:00 2001 From: Asaf S Date: Mon, 16 Aug 2021 11:20:19 +0300 Subject: [PATCH] Expose `getSummary` from `jest-reporters.utils` (#11695) --- CHANGELOG.md | 4 ++++ packages/jest-reporters/src/index.ts | 2 ++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ebd5b93c387..6eeedf0c6ff4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,10 @@ ## 27.0.7 +### Features + +- `[jest-reporters]` Expose the `getSummary` util ([#11695](https://github.com/facebook/jest/pull/11695)). + ### Chore & Maintenance - `[docs]` Correct expects.assertions documentation by adding async/await for asynchronous function. diff --git a/packages/jest-reporters/src/index.ts b/packages/jest-reporters/src/index.ts index afa77eca14e7..9185df007f1b 100644 --- a/packages/jest-reporters/src/index.ts +++ b/packages/jest-reporters/src/index.ts @@ -8,6 +8,7 @@ import getResultHeader from './getResultHeader'; import { formatTestPath, + getSummary, printDisplayName, relativePath, trimAndFormatPath, @@ -35,6 +36,7 @@ export type { export const utils = { formatTestPath, getResultHeader, + getSummary, printDisplayName, relativePath, trimAndFormatPath,