Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/content_editor/components/wrappers/__snapshots__/table_of_contents_spec.js.snap')
-rw-r--r--spec/frontend/content_editor/components/wrappers/__snapshots__/table_of_contents_spec.js.snap54
1 files changed, 10 insertions, 44 deletions
diff --git a/spec/frontend/content_editor/components/wrappers/__snapshots__/table_of_contents_spec.js.snap b/spec/frontend/content_editor/components/wrappers/__snapshots__/table_of_contents_spec.js.snap
index a9d42769789..e058f05fec4 100644
--- a/spec/frontend/content_editor/components/wrappers/__snapshots__/table_of_contents_spec.js.snap
+++ b/spec/frontend/content_editor/components/wrappers/__snapshots__/table_of_contents_spec.js.snap
@@ -2,23 +2,18 @@
exports[`content/components/wrappers/table_of_contents collects all headings and renders a nested list of headings 1`] = `
<div
- class="table-of-contents gl-border-1 gl-border-solid gl-border-gray-100 gl-mb-5 gl-p-4!"
+ class="gl-border-1 gl-border-gray-100 gl-border-solid gl-mb-5 gl-p-4! table-of-contents"
data-testid="table-of-contents"
>
-
Table of contents
-
<li
dir="auto"
>
<a
href="#"
>
-
- Heading 1
-
+ Heading 1
</a>
-
<ul
dir="auto"
>
@@ -28,11 +23,8 @@ exports[`content/components/wrappers/table_of_contents collects all headings and
<a
href="#"
>
-
- Heading 1.1
-
+ Heading 1.1
</a>
-
<ul
dir="auto"
>
@@ -42,12 +34,8 @@ exports[`content/components/wrappers/table_of_contents collects all headings and
<a
href="#"
>
-
- Heading 1.1.1
-
+ Heading 1.1.1
</a>
-
- <!---->
</li>
</ul>
</li>
@@ -57,11 +45,8 @@ exports[`content/components/wrappers/table_of_contents collects all headings and
<a
href="#"
>
-
- Heading 1.2
-
+ Heading 1.2
</a>
-
<ul
dir="auto"
>
@@ -71,12 +56,8 @@ exports[`content/components/wrappers/table_of_contents collects all headings and
<a
href="#"
>
-
- Heading 1.2.1
-
+ Heading 1.2.1
</a>
-
- <!---->
</li>
</ul>
</li>
@@ -86,12 +67,8 @@ exports[`content/components/wrappers/table_of_contents collects all headings and
<a
href="#"
>
-
- Heading 1.3
-
+ Heading 1.3
</a>
-
- <!---->
</li>
<li
dir="auto"
@@ -99,11 +76,8 @@ exports[`content/components/wrappers/table_of_contents collects all headings and
<a
href="#"
>
-
- Heading 1.4
-
+ Heading 1.4
</a>
-
<ul
dir="auto"
>
@@ -113,12 +87,8 @@ exports[`content/components/wrappers/table_of_contents collects all headings and
<a
href="#"
>
-
- Heading 1.4.1
-
+ Heading 1.4.1
</a>
-
- <!---->
</li>
</ul>
</li>
@@ -130,12 +100,8 @@ exports[`content/components/wrappers/table_of_contents collects all headings and
<a
href="#"
>
-
- Heading 2
-
+ Heading 2
</a>
-
- <!---->
</li>
</div>
`;