« get me outta code hell

reorganize test directory layout - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/snapshots/linkTemplate.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-03-27 09:59:43 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-03-27 09:59:43 -0300
commitcb13d591c6965dc52d89ec4d1e10558e6b22456b (patch)
treec2e13e0ae7ffc83327a176f40ea4101c9a5fb200 /test/snapshots/linkTemplate.js
parent789a26aacfd1e9f97a9395f0000b42df35a75bd7 (diff)
reorganize test directory layout
Avoids unsavory "no tests found in _support.js" message
and makes structure match src directory layout more closely
Diffstat (limited to 'test/snapshots/linkTemplate.js')
-rw-r--r--test/snapshots/linkTemplate.js28
1 files changed, 0 insertions, 28 deletions
diff --git a/test/snapshots/linkTemplate.js b/test/snapshots/linkTemplate.js
deleted file mode 100644
index 0dcf5b61..00000000
--- a/test/snapshots/linkTemplate.js
+++ /dev/null
@@ -1,28 +0,0 @@
-import t from 'tap';
-
-import {testContentFunctions} from './_support.js';
-
-testContentFunctions(t, 'linkTemplate', (t, evaluate) => {
-  evaluate.snapshot({
-    name: 'linkTemplate',
-    extraDependencies: {
-      getColors: c => ({primary: c + 'ff', dim: c + '77'}),
-    },
-  },
-    v => v
-      .slot('color', '#123456')
-      .slot('href', 'https://hsmusic.wiki/media/cool file.pdf')
-      .slot('hash', 'fooey')
-      .slot('attributes', {class: 'dog', id: 'cat1'})
-      .slot('content', 'My Cool Link'));
-
-  evaluate.snapshot({
-    name: 'linkTemplate',
-    extraDependencies: {
-      to: (...path) => '/c*lzone/' + path.join('/') + '/',
-      appendIndexHTML: true,
-    },
-  },
-    v => v
-      .slot('path', ['myCoolPath', 'ham', 'pineapple', 'tomato']));
-});