« get me outta code hell

test: tidy & add descriptions for existing snapshot tests - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/snapshot/generateContributionLinks.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-04-04 13:44:07 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-04-04 13:47:47 -0300
commit762be9d8078a2fd19a460b7172129a9575974f1f (patch)
treec74fe2403e824cc4f9243cb464f800cb0ac81fa0 /test/snapshot/generateContributionLinks.js
parent21b6f42b31c39bfc3ee20788d7d055d7afdb5c21 (diff)
test: tidy & add descriptions for existing snapshot tests
Diffstat (limited to 'test/snapshot/generateContributionLinks.js')
-rw-r--r--test/snapshot/generateContributionLinks.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/snapshot/generateContributionLinks.js b/test/snapshot/generateContributionLinks.js
index 10d225cd..deecf9ef 100644
--- a/test/snapshot/generateContributionLinks.js
+++ b/test/snapshot/generateContributionLinks.js
@@ -28,22 +28,22 @@ testContentFunctions(t, 'generateContributionLinks (snapshot)', async (t, evalua
 
   await evaluate.load();
 
-  evaluate.snapshot({
+  evaluate.snapshot('showContribution & showIcons', {
     name: 'generateContributionLinks',
     args: [contributions, {showContribution: true, showIcons: true}],
   });
 
-  evaluate.snapshot({
+  evaluate.snapshot('only showContribution', {
     name: 'generateContributionLinks',
     args: [contributions, {showContribution: true, showIcons: false}],
   });
 
-  evaluate.snapshot({
+  evaluate.snapshot('only showIcons', {
     name: 'generateContributionLinks',
     args: [contributions, {showContribution: false, showIcons: true}],
   });
 
-  evaluate.snapshot({
+  evaluate.snapshot('no accents', {
     name: 'generateContributionLinks',
     args: [contributions, {showContribution: false, showIcons: false}],
   });