From 8395cdfedec59627a141c8f641c97cb1c31ad2d7 Mon Sep 17 00:00:00 2001 From: Orta Therox Date: Mon, 12 Jul 2021 12:06:21 +0100 Subject: [PATCH] Better comments --- .../__tests__/__snapshots__/snapshot.test.js.snap | 2 +- e2e/snapshot-formatting-changes/__tests__/snapshot.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/snapshot-formatting-changes/__tests__/__snapshots__/snapshot.test.js.snap b/e2e/snapshot-formatting-changes/__tests__/__snapshots__/snapshot.test.js.snap index 204310e54dfe..a6620ddfb9a7 100644 --- a/e2e/snapshot-formatting-changes/__tests__/__snapshots__/snapshot.test.js.snap +++ b/e2e/snapshot-formatting-changes/__tests__/__snapshots__/snapshot.test.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`snapshot serializer prototypes for object and array: no prototypes 1`] = ` +exports[`snapshot serializer uses 8 chars for indent, and shows no prototypes for object and array in a snapshot: no prototypes 1`] = ` { "array": [ { diff --git a/e2e/snapshot-formatting-changes/__tests__/snapshot.test.js b/e2e/snapshot-formatting-changes/__tests__/snapshot.test.js index 194fab1ab137..ea453006d281 100644 --- a/e2e/snapshot-formatting-changes/__tests__/snapshot.test.js +++ b/e2e/snapshot-formatting-changes/__tests__/snapshot.test.js @@ -23,7 +23,7 @@ describe('snapshot serializer', () => { `); }); - it('prototypes for object and array', () => { + it('uses 8 chars for indent, and shows no prototypes for object and array in a snapshot', () => { const object = { array: [{hello: 'Danger'}], };