diff options
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 |
commit | 6f8082142544548303681109d7d30073a0ae069a (patch) | |
tree | 3cf6b8b3c7cad49a24350d29a027f36a895103ff | |
parent | cf1be875ce9fb21dfa3bdd48c29a043ba13a3fa7 (diff) |
test: drop dead showAggregate calls
-rw-r--r-- | test/snapshot/generateTrackCoverArtwork.js | 15 | ||||
-rw-r--r-- | test/unit/data/things/track.js | 1 |
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'; |