« get me outta code hell

content, test: linkContribution: only show first four icons - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/snapshot
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-06-15 17:28:59 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-06-15 17:28:59 -0300
commit250b0279844f020753eae6ced6e7c34f0b224347 (patch)
treec89c9e177bd42c92c7497a08a855ce82b3739dad /test/snapshot
parentfc5c3f4e66660018e835ab0f3b664ef0d6abe2ef (diff)
content, test: linkContribution: only show first four icons
Diffstat (limited to 'test/snapshot')
-rw-r--r--test/snapshot/linkContribution.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/snapshot/linkContribution.js b/test/snapshot/linkContribution.js
index 758fa264..44033ad3 100644
--- a/test/snapshot/linkContribution.js
+++ b/test/snapshot/linkContribution.js
@@ -51,4 +51,22 @@ testContentFunctions(t, 'linkContribution (snapshot)', async (t, evaluate) => {
   });
 
   quickSnapshot('no accents', {});
+
+  evaluate.snapshot('loads of links', {
+    name: 'linkContribution',
+    args: [
+      {name: 'Lorem Ipsum Lover', directory: 'lorem-ipsum-lover', urls: [
+        'https://loremipsum.io',
+        'https://loremipsum.io/generator/',
+        'https://loremipsum.io/#meaning',
+        'https://loremipsum.io/#usage-and-examples',
+        'https://loremipsum.io/#controversy',
+        'https://loremipsum.io/#when-to-use-lorem-ipsum',
+        'https://loremipsum.io/#lorem-ipsum-all-the-things',
+        'https://loremipsum.io/#original-source',
+      ]},
+      null,
+    ],
+    slots: {showIcons: true},
+  });
 });