« get me outta code hell

content, test: linkContribution: showContribution -> showAnnotation - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-08-15 13:07:42 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-08-15 13:38:15 -0300
commit74f3e5a04088b5059e7587b71b15ba57cca61bc2 (patch)
tree4649ca06ddb3a2dc53eb6d3e08824e30734d863c /test
parent91dbbd7abb7fe526d775f4bc4958ad44938bc214 (diff)
content, test: linkContribution: showContribution -> showAnnotation
Diffstat (limited to 'test')
-rw-r--r--test/snapshot/linkContribution.js10
-rw-r--r--test/unit/content/dependencies/linkContribution.js4
2 files changed, 7 insertions, 7 deletions
diff --git a/test/snapshot/linkContribution.js b/test/snapshot/linkContribution.js
index 5844b0b9..47ef1503 100644
--- a/test/snapshot/linkContribution.js
+++ b/test/snapshot/linkContribution.js
@@ -33,13 +33,13 @@ testContentFunctions(t, 'linkContribution (snapshot)', async (t, evaluate) => {
       slots,
     });
 
-  quickSnapshot('showContribution & showExternalLinks', {
-    showContribution: true,
+  quickSnapshot('showAnnotation & showExternalLinks', {
+    showAnnotation: true,
     showExternalLinks: true,
   });
 
-  quickSnapshot('only showContribution', {
-    showContribution: true,
+  quickSnapshot('only showAnnotation', {
+    showAnnotation: true,
   });
 
   quickSnapshot('only showExternalLinks', {
@@ -66,7 +66,7 @@ testContentFunctions(t, 'linkContribution (snapshot)', async (t, evaluate) => {
   });
 
   quickSnapshot('no preventWrapping', {
-    showContribution: true,
+    showAnnotation: true,
     showExternalLinks: true,
     preventWrapping: false,
   });
diff --git a/test/unit/content/dependencies/linkContribution.js b/test/unit/content/dependencies/linkContribution.js
index e7a29310..3ffd71d2 100644
--- a/test/unit/content/dependencies/linkContribution.js
+++ b/test/unit/content/dependencies/linkContribution.js
@@ -26,7 +26,7 @@ t.test('generateContributionLinks (unit)', async t => {
 
   await testContentFunctions(t, 'generateContributionLinks (unit 1)', async (t, evaluate) => {
     const slots = {
-      showContribution: true,
+      showAnnotation: true,
       showExternalLinks: true,
     };
 
@@ -81,7 +81,7 @@ t.test('generateContributionLinks (unit)', async t => {
 
   await testContentFunctions(t, 'generateContributionLinks (unit 2)', async (t, evaluate) => {
     const slots = {
-      showContribution: false,
+      showAnnotation: false,
       showExternalLinks: false,
     };