From f671280c9cd89411877c9a3c0054f43f514bb332 Mon Sep 17 00:00:00 2001 From: Razvan Moraru Date: Thu, 25 Jan 2018 13:17:36 +0100 Subject: [PATCH] fix snaphsots tests --- .../__tests__/__snapshots__/tags.spec.js.snap | 152 ++++++------ .../__snapshots__/footer.spec..js.snap | 70 ------ .../{footer.spec..js => footer.spec.js} | 0 .../__snapshots__/networks.spec.js.snap | 64 ++--- .../__tests__/__snapshots__/tag.spec.js.snap | 76 +++--- .../__tests__/__snapshots__/cns.spec.js.snap | 64 ++--- .../__snapshots__/firewall.spec.js.snap | 64 ++--- .../__snapshots__/networks.spec.js.snap | 32 +-- .../__tests__/__snapshots__/tags.spec.js.snap | 228 +++++++++--------- yarn.lock | 168 +++++++++++-- 10 files changed, 489 insertions(+), 429 deletions(-) delete mode 100644 packages/my-joy-beta/src/components/navigation/__tests__/__snapshots__/footer.spec..js.snap rename packages/my-joy-beta/src/components/navigation/__tests__/{footer.spec..js => footer.spec.js} (100%) diff --git a/packages/my-joy-beta/src/components/__tests__/__snapshots__/tags.spec.js.snap b/packages/my-joy-beta/src/components/__tests__/__snapshots__/tags.spec.js.snap index ea55e4ce..2afb8cff 100644 --- a/packages/my-joy-beta/src/components/__tests__/__snapshots__/tags.spec.js.snap +++ b/packages/my-joy-beta/src/components/__tests__/__snapshots__/tags.spec.js.snap @@ -708,44 +708,6 @@ exports[`renders without throwing 1`] = ` outline: 0; } -.c10 { - -webkit-order: 0; - -ms-flex-order: 0; - order: 0; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-box-flex: 0; - -webkit-flex-grow: 0; - -ms-flex-positive: 0; - flex-grow: 0; - -webkit-flex-shrink: 1; - -ms-flex-negative: 1; - flex-shrink: 1; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; -} - -.c15 { - -webkit-order: 0; - -ms-flex-order: 0; - order: 0; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-box-flex: 0; - -webkit-flex-grow: 0; - -ms-flex-positive: 0; - flex-grow: 0; - -webkit-flex-shrink: 1; - -ms-flex-negative: 1; - flex-shrink: 1; - -webkit-flex-basis: 0.75rem; - -ms-flex-preferred-size: 0.75rem; - flex-basis: 0.75rem; -} - .c4 { display: -webkit-box; display: -webkit-flex; @@ -806,6 +768,44 @@ exports[`renders without throwing 1`] = ` align-content: stretch; } +.c10 { + -webkit-order: 0; + -ms-flex-order: 0; + order: 0; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + -webkit-flex-shrink: 1; + -ms-flex-negative: 1; + flex-shrink: 1; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; +} + +.c15 { + -webkit-order: 0; + -ms-flex-order: 0; + order: 0; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + -webkit-flex-shrink: 1; + -ms-flex-negative: 1; + flex-shrink: 1; + -webkit-flex-basis: 0.75rem; + -ms-flex-preferred-size: 0.75rem; + flex-basis: 0.75rem; +} + .c2 { word-wrap: break-word; overflow-wrap: break-word; @@ -1711,44 +1711,6 @@ exports[`renders without throwing 1`] = ` outline: 0; } -.c10 { - -webkit-order: 0; - -ms-flex-order: 0; - order: 0; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-box-flex: 0; - -webkit-flex-grow: 0; - -ms-flex-positive: 0; - flex-grow: 0; - -webkit-flex-shrink: 1; - -ms-flex-negative: 1; - flex-shrink: 1; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; -} - -.c15 { - -webkit-order: 0; - -ms-flex-order: 0; - order: 0; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-box-flex: 0; - -webkit-flex-grow: 0; - -ms-flex-positive: 0; - flex-grow: 0; - -webkit-flex-shrink: 1; - -ms-flex-negative: 1; - flex-shrink: 1; - -webkit-flex-basis: 0.75rem; - -ms-flex-preferred-size: 0.75rem; - flex-basis: 0.75rem; -} - .c4 { display: -webkit-box; display: -webkit-flex; @@ -1809,6 +1771,44 @@ exports[`renders without throwing 1`] = ` align-content: stretch; } +.c10 { + -webkit-order: 0; + -ms-flex-order: 0; + order: 0; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + -webkit-flex-shrink: 1; + -ms-flex-negative: 1; + flex-shrink: 1; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; +} + +.c15 { + -webkit-order: 0; + -ms-flex-order: 0; + order: 0; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + -webkit-flex-shrink: 1; + -ms-flex-negative: 1; + flex-shrink: 1; + -webkit-flex-basis: 0.75rem; + -ms-flex-preferred-size: 0.75rem; + flex-basis: 0.75rem; +} + .c6 { word-break: break-all; line-height: 1.5; diff --git a/packages/my-joy-beta/src/components/navigation/__tests__/__snapshots__/footer.spec..js.snap b/packages/my-joy-beta/src/components/navigation/__tests__/__snapshots__/footer.spec..js.snap deleted file mode 100644 index 8e9ac6cb..00000000 --- a/packages/my-joy-beta/src/components/navigation/__tests__/__snapshots__/footer.spec..js.snap +++ /dev/null @@ -1,70 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`renders