From fe1603ad05f5e1d9f1ecbeb5193854869e5dbbfe Mon Sep 17 00:00:00 2001 From: Evan Purkhiser Date: Tue, 28 Aug 2018 14:03:47 -0700 Subject: [PATCH] chore: Bump enzyme{,-adapter-react-16} to 3.5 / 1.3 Fragment's disappearing (or being renamed) is likely due to https://github.com/airbnb/enzyme/pull/1733 --- package.json | 4 +- .../__snapshots__/confirm.spec.jsx.snap | 4 +- .../eventOrGroupExtraDetails.spec.jsx.snap | 80 ++-- .../settingsLayout.spec.jsx.snap | 4 +- .../radioBooleanField.spec.jsx.snap | 176 +++++---- .../integrationDetailsModal.spec.jsx.snap | 4 +- .../projectAlertSettings.spec.jsx.snap | 364 +++++++++--------- .../__snapshots__/projectTeams.spec.jsx.snap | 4 +- .../__snapshots__/teamMembers.spec.jsx.snap | 4 +- .../projectPlugins.spec.jsx.snap | 4 +- yarn.lock | 286 +++++++++----- 11 files changed, 516 insertions(+), 418 deletions(-) diff --git a/package.json b/package.json index 12a892bede1145..a16ed8148bd52c 100644 --- a/package.json +++ b/package.json @@ -155,8 +155,8 @@ "babel-eslint": "7.2.3", "babel-jest": "22.1.0", "chai": "3.4.1", - "enzyme": "3.2.0", - "enzyme-adapter-react-16": "npm:enzyme-react-adapter-future", + "enzyme": "3.5.0", + "enzyme-adapter-react-16": "1.3.0", "enzyme-to-json": "3.3.1", "eslint": "4.4.1", "eslint-config-prettier": "^2.3.0", diff --git a/tests/js/spec/components/__snapshots__/confirm.spec.jsx.snap b/tests/js/spec/components/__snapshots__/confirm.spec.jsx.snap index da2b2849e769ab..0d15c33ae4e80c 100644 --- a/tests/js/spec/components/__snapshots__/confirm.spec.jsx.snap +++ b/tests/js/spec/components/__snapshots__/confirm.spec.jsx.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Confirm renders 1`] = ` - + - + `; diff --git a/tests/js/spec/components/__snapshots__/eventOrGroupExtraDetails.spec.jsx.snap b/tests/js/spec/components/__snapshots__/eventOrGroupExtraDetails.spec.jsx.snap index 545549361a6dc1..62807188072c77 100644 --- a/tests/js/spec/components/__snapshots__/eventOrGroupExtraDetails.spec.jsx.snap +++ b/tests/js/spec/components/__snapshots__/eventOrGroupExtraDetails.spec.jsx.snap @@ -15,15 +15,13 @@ exports[`EventOrGroupExtraDetails details when mentioned 1`] = ` align="center" mr={2} > - - - - + + @@ -116,15 +114,13 @@ exports[`EventOrGroupExtraDetails renders all details 1`] = ` align="center" mr={2} > - - - - + + @@ -213,15 +209,13 @@ exports[`EventOrGroupExtraDetails renders assignee and status 1`] = ` align="center" mr={2} > - - - - + + @@ -319,15 +313,13 @@ exports[`EventOrGroupExtraDetails renders last and first seen 1`] = ` align="center" mr={2} > - - - - + + @@ -369,15 +361,13 @@ exports[`EventOrGroupExtraDetails renders only last seen 1`] = ` align="center" mr={2} > - - - - + + diff --git a/tests/js/spec/components/__snapshots__/settingsLayout.spec.jsx.snap b/tests/js/spec/components/__snapshots__/settingsLayout.spec.jsx.snap index 75f26adaf0823e..38e379b22a26f4 100644 --- a/tests/js/spec/components/__snapshots__/settingsLayout.spec.jsx.snap +++ b/tests/js/spec/components/__snapshots__/settingsLayout.spec.jsx.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`SettingsLayout renders 1`] = ` - + @@ -33,5 +33,5 @@ exports[`SettingsLayout renders 1`] = `