« get me outta code hell

test: remove all existing snapshot tests - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/snapshot/linkContribution.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-10-15 14:27:29 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-10-15 14:27:29 -0300
commit1aa217195f4d5f82653e29d6c265f92c2d1bbd7e (patch)
tree98511aa6b51bdc5cbc4c31ddcf144f03bf2b8422 /test/snapshot/linkContribution.js
parent643797e6a2dcf4c39117e6ef99d9c8672e2d2511 (diff)
test: remove all existing snapshot tests
Deliberately keeping evaluate.snapshot() for possible future use.

There are also these folders which were seemingly never included
in the working tree:

test/snapshot/complete
test/snapshot/isolated
test/snapshot/mixed

If and when we come back to snasphot tests, maybe we'll bounce
off of that idea shaped out of three words.
Diffstat (limited to 'test/snapshot/linkContribution.js')
-rw-r--r--test/snapshot/linkContribution.js73
1 files changed, 0 insertions, 73 deletions
diff --git a/test/snapshot/linkContribution.js b/test/snapshot/linkContribution.js
deleted file mode 100644
index 47ef1503..00000000
--- a/test/snapshot/linkContribution.js
+++ /dev/null
@@ -1,73 +0,0 @@
-import t from 'tap';
-import {testContentFunctions} from '#test-lib';
-
-testContentFunctions(t, 'linkContribution (snapshot)', async (t, evaluate) => {
-  await evaluate.load();
-
-  const quickSnapshot = (message, slots) =>
-    evaluate.snapshot(message, {
-      name: 'linkContribution',
-      multiple: [
-        {args: [
-          {artist: {
-            name: 'Clark Powell',
-            directory: 'clark-powell',
-            urls: ['https://soundcloud.com/plazmataz'],
-          }, annotation: null},
-        ]},
-        {args: [
-          {artist: {
-            name: 'Grounder & Scratch',
-            directory: 'the-big-baddies',
-            urls: [],
-          }, annotation: 'Snooping'},
-        ]},
-        {args: [
-          {artist: {
-            name: 'Toby Fox',
-            directory: 'toby-fox',
-            urls: ['https://tobyfox.bandcamp.com/', 'https://toby.fox/'],
-          }, annotation: 'Arrangement'},
-        ]},
-      ],
-      slots,
-    });
-
-  quickSnapshot('showAnnotation & showExternalLinks', {
-    showAnnotation: true,
-    showExternalLinks: true,
-  });
-
-  quickSnapshot('only showAnnotation', {
-    showAnnotation: true,
-  });
-
-  quickSnapshot('only showExternalLinks', {
-    showExternalLinks: true,
-  });
-
-  quickSnapshot('no accents', {});
-
-  evaluate.snapshot('loads of links', {
-    name: 'linkContribution',
-    args: [
-      {artist: {name: 'Lorem Ipsum Lover', directory: 'lorem-ipsum-lover', urls: [
-        'https://loremipsum.io',
-        'https://loremipsum.io/generator/',
-        'https://loremipsum.io/#meaning',
-        'https://loremipsum.io/#usage-and-examples',
-        'https://loremipsum.io/#controversy',
-        'https://loremipsum.io/#when-to-use-lorem-ipsum',
-        'https://loremipsum.io/#lorem-ipsum-all-the-things',
-        'https://loremipsum.io/#original-source',
-      ]}, annotation: null},
-    ],
-    slots: {showExternalLinks: true},
-  });
-
-  quickSnapshot('no preventWrapping', {
-    showAnnotation: true,
-    showExternalLinks: true,
-    preventWrapping: false,
-  });
-});