From e0b8bc067ae25f2538c947ee65f2fb16700bf1c6 Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Thu, 4 Apr 2019 23:01:15 +0200 Subject: [PATCH] chore: update snapshots --- jest.config.js | 3 +++ package.json | 1 + .../__snapshots__/copyToClipBoard.spec.js.snap | 2 +- .../__snapshots__/footer.spec.js.snap | 2 +- .../__snapshots__/header.spec.js.snap | 4 ++-- .../components/__snapshots__/help.spec.js.snap | 2 +- .../__snapshots__/packagelist.spec.js.snap | 2 +- .../__snapshots__/search.spec.js.snap | 2 +- yarn.lock | 17 ++++++++++++++++- 9 files changed, 27 insertions(+), 8 deletions(-) diff --git a/jest.config.js b/jest.config.js index 148cf31..15441d4 100644 --- a/jest.config.js +++ b/jest.config.js @@ -34,6 +34,9 @@ module.exports = { '__snapshots__', '/build', ], + snapshotSerializers: [ + "jest-emotion" + ], coveragePathIgnorePatterns: [ 'node_modules', 'fixtures', diff --git a/package.json b/package.json index a707080..351767f 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,7 @@ "identity-obj-proxy": "3.0.0", "in-publish": "2.0.0", "jest": "24.1.0", + "jest-emotion": "10.0.10", "jest-environment-jsdom": "24.0.0", "jest-environment-jsdom-global": "1.1.1", "jest-environment-node": "24.0.0", diff --git a/test/unit/webui/components/__snapshots__/copyToClipBoard.spec.js.snap b/test/unit/webui/components/__snapshots__/copyToClipBoard.spec.js.snap index efdbac6..210a3af 100644 --- a/test/unit/webui/components/__snapshots__/copyToClipBoard.spec.js.snap +++ b/test/unit/webui/components/__snapshots__/copyToClipBoard.spec.js.snap @@ -1,3 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` component render the component 1`] = `"
copy text
"`; +exports[` component render the component 1`] = `"
copy text
"`; diff --git a/test/unit/webui/components/__snapshots__/footer.spec.js.snap b/test/unit/webui/components/__snapshots__/footer.spec.js.snap index 9a018be..6fd3401 100644 --- a/test/unit/webui/components/__snapshots__/footer.spec.js.snap +++ b/test/unit/webui/components/__snapshots__/footer.spec.js.snap @@ -1,3 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`