From 3de9ae58df67b173fd788638b299f369255541c4 Mon Sep 17 00:00:00 2001 From: dominik-zeglen Date: Fri, 6 Nov 2020 09:34:05 +0100 Subject: [PATCH] Update tests --- .../__snapshots__/Stories.test.ts.snap | 16146 +--------------- src/utils/richText/useRichText.test.ts | 2 +- 2 files changed, 587 insertions(+), 15561 deletions(-) diff --git a/src/storybook/__snapshots__/Stories.test.ts.snap b/src/storybook/__snapshots__/Stories.test.ts.snap index de4af41f4..60d02047d 100644 --- a/src/storybook/__snapshots__/Stories.test.ts.snap +++ b/src/storybook/__snapshots__/Stories.test.ts.snap @@ -7655,520 +7655,96 @@ exports[`Storyshots Generics / Rich text editor default 1`] = ` class="MuiCardContent-root-id" >
-
-
- Content -
-
- -
-
-
-
-
-
- - - bold - - -
-
-
-
- - - italic - - -
-
-
-
- - - strikethrough - - -
-
-

-
- - - h1 - - -
-

-

-
- - - h2 - - -
-

-

-
- - - h3 - - -
-

-
-
- - - blockquote - - -
-
-
    -
  • -
    - - - ul - - -
    -
  • -
-
    -
  1. -
    - - - ol - - -
    -
  2. -
-
-
- - - link - - -
-
-
-
-
-
-
-
+ Content + +
+

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit +

+
+
+ + +`; + +exports[`Storyshots Generics / Rich text editor disabled 1`] = ` +
+
+
+
+ +
+

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit +

+
+
+
+
+`; + +exports[`Storyshots Generics / Rich text editor error 1`] = ` +
+
+
+
+ +
+

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit +

@@ -31726,316 +31302,22 @@ exports[`Storyshots Views / Categories / Create category When loading 1`] = ` class="FormSpacer-spacer-id" />
-
-
- Category Description -
-
- -
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
+ Category Description + +
+

@@ -32309,316 +31591,22 @@ exports[`Storyshots Views / Categories / Create category default 1`] = ` class="FormSpacer-spacer-id" />
-
-
- Category Description -
-
- -
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
+ Category Description + +
+

@@ -32897,321 +31885,24 @@ exports[`Storyshots Views / Categories / Create category form errors 1`] = ` class="FormSpacer-spacer-id" />
-
-
- Category Description -
-
- -
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
+ Category Description +
+

This field is required -

+

@@ -33484,520 +32175,22 @@ exports[`Storyshots Views / Categories / Update category default 1`] = ` class="FormSpacer-spacer-id" />
-
-
- Category Description -
-
- -
-
-
-
-
-
- - - bold - - -
-
-
-
- - - italic - - -
-
-
-
- - - strikethrough - - -
-
-

-
- - - h1 - - -
-

-

-
- - - h2 - - -
-

-

-
- - - h3 - - -
-

-
-
- - - blockquote - - -
-
-
    -
  • -
    - - - ul - - -
    -
  • -
-
    -
  1. -
    - - - ol - - -
    -
  2. -
-
-
- - - link - - -
-
-
-
-
-
-
-
+ Category Description + +
+

@@ -34216,195 +32409,13 @@ Ctrl + K" class="CardTitle-hr-id" />
- -
- - - - - - - - - - - -