From 82af8ad62b4af6fed5cff3ed714a45639e82574e Mon Sep 17 00:00:00 2001 From: rickhanlonii Date: Tue, 15 May 2018 09:25:37 -0400 Subject: [PATCH 1/2] Minor cleanups from #6181 --- CHANGELOG.md | 2 ++ .../jest-cli/src/reporters/__tests__/summary_reporter.test.js | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 577b158e7bc7..050dc7244c33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -88,6 +88,8 @@ ([#6032](https://github.com/facebook/jest/pull/6032)) * `[expect]` Add return matchers ([#5879](https://github.com/facebook/jest/pull/5879)) +* `[jest-cli]` Improve snapshot summaries + ([#6181](https://github.com/facebook/jest/pull/6181)) ### Fixes diff --git a/packages/jest-cli/src/reporters/__tests__/summary_reporter.test.js b/packages/jest-cli/src/reporters/__tests__/summary_reporter.test.js index 70b507645602..14e6def84bb3 100644 --- a/packages/jest-cli/src/reporters/__tests__/summary_reporter.test.js +++ b/packages/jest-cli/src/reporters/__tests__/summary_reporter.test.js @@ -147,6 +147,3 @@ test('snapshots all have results (after update)', () => { testReporter.onRunComplete(new Set(), aggregatedResults); expect(results.join('').replace(/\\/g, '/')).toMatchSnapshot(); }); - -// TODO: add obsolete snapshots and files -// TODO: add more tests to get_snapshot_summary From e626dec5a612e65d0d3984416f36d71ae55e9b79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Tue, 15 May 2018 15:29:41 +0200 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 050dc7244c33..cfa3700e6255 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -80,7 +80,7 @@ ([#5864](https://github.com/facebook/jest/pull/5864)) * `[jest-editor-support]` Add `no-color` option to runner ([#5909](https://github.com/facebook/jest/pull/5909)) -* Pretty-print non-Error object errors +* `[jest-jasmine2]` Pretty-print non-Error object errors ([#5980](https://github.com/facebook/jest/pull/5980)) * `[jest-message-util]` Include column in stack frames ([#5889](https://github.com/facebook/jest/pull/5889))