« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/snapshots/linkArtist.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/linkArtist.js')
-rw-r--r--test/snapshots/linkArtist.js26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/snapshots/linkArtist.js b/test/snapshots/linkArtist.js
new file mode 100644
index 0000000..43fee88
--- /dev/null
+++ b/test/snapshots/linkArtist.js
@@ -0,0 +1,26 @@
+import t from 'tap';
+
+import {testContentFunctions} from './_support.js';
+
+testContentFunctions(t, 'linkArtist', (t, evaluate) => {
+  evaluate.snapshot({
+    name: 'linkArtist',
+    args: [
+      {
+        name: `Toby Fox`,
+        directory: `toby-fox`,
+      }
+    ],
+  });
+
+  evaluate.snapshot({
+    name: 'linkArtist',
+    args: [
+      {
+        name: 'ICCTTCMDMIROTMCWMWFTPFTDDOTARHPOESWGBTWEATFCWSEBTSSFOFG',
+        nameShort: '55gore',
+        directory: '55gore',
+      },
+    ],
+  }, v => v.slot('preferShortName', true));
+});