« get me outta code hell

content, test: linkExternal: fandom page links - 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>2023-10-04 19:56:44 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-10-04 19:56:44 -0300
commit0a2b420891db2832ac5bc7e25cbe3fc2c15859a7 (patch)
treec85855a9e6a05409e3f1666076553aaf06da3701 /test
parent682c8a9591b59959184d6e374d8cdd73c6ddf53d (diff)
content, test: linkExternal: fandom page links
Diffstat (limited to 'test')
-rw-r--r--test/snapshot/linkExternal.js12
1 files changed, 12 insertions, 0 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']},
+    ],
+  });
 });