From 2f75fb8cbba1890b34ff6144d4e3bffa47d221b4 Mon Sep 17 00:00:00 2001 From: Tim Seckinger Date: Mon, 4 May 2020 22:27:44 +0200 Subject: [PATCH] changelog / lint fix --- CHANGELOG.md | 3 ++- packages/jest-each/src/bind.ts | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b19510bae0d0..315a09207a8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ ### Fixes +- `[jest-each]` [**BREAKING**] Ignore excess words in headings ([#8766](https://github.com/facebook/jest/pull/8766)) + ### Chore & Maintenance ### Performance @@ -383,7 +385,6 @@ ### Fixes -- `[jest-each]` Ignore excess words in headings ([#8766](https://github.com/facebook/jest/pull/8766)) - `[jest-cli]` Detect side-effect only imports when running `--onlyChanged` or `--changedSince` ([#8670](https://github.com/facebook/jest/pull/8670)) - `[jest-cli]` Allow `--maxWorkers` to work with % input again ([#8565](https://github.com/facebook/jest/pull/8565)) - `[babel-plugin-jest-hoist]` Expand list of whitelisted globals in global mocks ([#8429](https://github.com/facebook/jest/pull/8429)) diff --git a/packages/jest-each/src/bind.ts b/packages/jest-each/src/bind.ts index 693d955d17df..b00c8e6bf1ad 100644 --- a/packages/jest-each/src/bind.ts +++ b/packages/jest-each/src/bind.ts @@ -72,9 +72,7 @@ const buildTemplateTests = ( }; const getHeadingKeys = (headings: string): Array => - extractValidTemplateHeadings(headings) - .replace(/\s/g, '') - .split('|'); + extractValidTemplateHeadings(headings).replace(/\s/g, '').split('|'); const applyArguments = ( supportsDone: boolean,