« get me outta code hell

test: fix meaningless fail in generateAlbumTrackList (unit) - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-08-05 20:41:37 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-08-05 20:41:37 -0300
commit515943d866f816db010983651b94b829bec11905 (patch)
tree876f29f250701aa9f1f555b6e12fb2dd885aea91
parent8d074913ce4ec148e6259cf6fbc23db717a08631 (diff)
test: fix meaningless fail in generateAlbumTrackList (unit)
-rw-r--r--test/unit/content/dependencies/generateAlbumTrackList.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unit/content/dependencies/generateAlbumTrackList.js b/test/unit/content/dependencies/generateAlbumTrackList.js
index 7b3ecd33..988f8505 100644
--- a/test/unit/content/dependencies/generateAlbumTrackList.js
+++ b/test/unit/content/dependencies/generateAlbumTrackList.js
@@ -10,6 +10,9 @@ testContentFunctions(t, 'generateAlbumTrackList (unit)', async (t, evaluate) =>
         generate: (name, {html}) =>
           html.tag('li', `Item: ${name}`),
       },
+
+      image:
+        evaluate.stubContentFunction('image'),
     },
   });