« get me outta code hell

test: drop dead showAggregate calls - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/snapshot
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-02-16 09:38:42 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-02-16 10:27:53 -0400
commit6f8082142544548303681109d7d30073a0ae069a (patch)
tree3cf6b8b3c7cad49a24350d29a027f36a895103ff /test/snapshot
parentcf1be875ce9fb21dfa3bdd48c29a043ba13a3fa7 (diff)
test: drop dead showAggregate calls
Diffstat (limited to 'test/snapshot')
-rw-r--r--test/snapshot/generateTrackCoverArtwork.js15
1 files changed, 5 insertions, 10 deletions
diff --git a/test/snapshot/generateTrackCoverArtwork.js b/test/snapshot/generateTrackCoverArtwork.js
index 51eba1ff..1e651eb1 100644
--- a/test/snapshot/generateTrackCoverArtwork.js
+++ b/test/snapshot/generateTrackCoverArtwork.js
@@ -1,6 +1,5 @@
 import t from 'tap';
 import {testContentFunctions} from '#test-lib';
-import {showAggregate} from '#sugar';
 
 testContentFunctions(t, 'generateTrackCoverArtwork (snapshot)', async (t, evaluate) => {
   await evaluate.load({
@@ -36,15 +35,11 @@ testContentFunctions(t, 'generateTrackCoverArtwork (snapshot)', async (t, evalua
     album,
   };
 
-  try {
-    evaluate.snapshot('display: primary - unique art', {
-      name: 'generateTrackCoverArtwork',
-      args: [track1],
-      slots: {mode: 'primary'},
-    });
-  } catch (error) {
-    showAggregate(error);
-  }
+  evaluate.snapshot('display: primary - unique art', {
+    name: 'generateTrackCoverArtwork',
+    args: [track1],
+    slots: {mode: 'primary'},
+  });
 
   evaluate.snapshot('display: thumbnail - unique art', {
     name: 'generateTrackCoverArtwork',