« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/snapshot/linkExternal.js12
-rw-r--r--test/snapshot/linkThing.js2
2 files changed, 13 insertions, 1 deletions
diff --git a/test/snapshot/linkExternal.js b/test/snapshot/linkExternal.js
index 3e8aee0d..89424588 100644
--- a/test/snapshot/linkExternal.js
+++ b/test/snapshot/linkExternal.js
@@ -51,4 +51,16 @@ testContentFunctions(t, 'linkExternal (snapshot)', async (t, evaluate) => {
       {args: ['https://types.pl/']},
     ],
   });
+
+  evaluate.snapshot('fandom page match', {
+    name: 'linkExternal',
+    multiple: [
+      {args: ['https://community.fandom.com/']},
+      {args: ['https://community.fandom.com/wiki/']},
+      {args: ['https://community.fandom.com/wiki/Community_Central']},
+      {args: ['https://mspaintadventures.fandom.com/']},
+      {args: ['https://mspaintadventures.fandom.com/wiki/']},
+      {args: ['https://mspaintadventures.fandom.com/wiki/Draconian_Dignitary']},
+    ],
+  });
 });
diff --git a/test/snapshot/linkThing.js b/test/snapshot/linkThing.js
index 195d8c0e..a55b8586 100644
--- a/test/snapshot/linkThing.js
+++ b/test/snapshot/linkThing.js
@@ -20,7 +20,7 @@ testContentFunctions(t, 'linkThing (snapshot)', async (t, evaluate) => {
   });
 
   quickSnapshot('preferShortName', {
-    args: ['localized.tag', {
+    args: ['localized.artTagGallery', {
       directory: 'five-oceanfalls',
       name: 'Five (Oceanfalls)',
       nameShort: 'Five',