« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--test/snapshot/generateTrackCoverArtwork.js15
-rw-r--r--test/unit/data/things/track.js1
2 files changed, 5 insertions, 11 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',
diff --git a/test/unit/data/things/track.js b/test/unit/data/things/track.js
index 15673437..b1c1611e 100644
--- a/test/unit/data/things/track.js
+++ b/test/unit/data/things/track.js
@@ -1,6 +1,5 @@
 import t from 'tap';
 
-import {showAggregate} from '#sugar';
 import {linkAndBindWikiData} from '#test-lib';
 import thingConstructors from '#things';