diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/snapshot/generateAlbumCoverArtwork.js | 4 | ||||
-rw-r--r-- | test/snapshot/generateCoverArtwork.js | 4 | ||||
-rw-r--r-- | test/snapshot/generateTrackCoverArtwork.js | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/test/snapshot/generateAlbumCoverArtwork.js b/test/snapshot/generateAlbumCoverArtwork.js index 015838c7..150b12bc 100644 --- a/test/snapshot/generateAlbumCoverArtwork.js +++ b/test/snapshot/generateAlbumCoverArtwork.js @@ -22,14 +22,14 @@ testContentFunctions(t, 'generateAlbumCoverArtwork (snapshot)', async (t, evalua evaluate.snapshot('display: primary', { name: 'generateAlbumCoverArtwork', args: [album], - slots: {displayMode: 'primary'}, + slots: {mode: 'primary'}, extraDependencies, }); evaluate.snapshot('display: thumbnail', { name: 'generateAlbumCoverArtwork', args: [album], - slots: {displayMode: 'thumbnail'}, + slots: {mode: 'thumbnail'}, extraDependencies, }); }); diff --git a/test/snapshot/generateCoverArtwork.js b/test/snapshot/generateCoverArtwork.js index 7c56f04d..025a6d0d 100644 --- a/test/snapshot/generateCoverArtwork.js +++ b/test/snapshot/generateCoverArtwork.js @@ -20,14 +20,14 @@ testContentFunctions(t, 'generateCoverArtwork (snapshot)', async (t, evaluate) = evaluate.snapshot('display: primary', { name: 'generateCoverArtwork', args: [artTags], - slots: {path, displayMode: 'primary'}, + slots: {path, mode: 'primary'}, extraDependencies, }); evaluate.snapshot('display: thumbnail', { name: 'generateCoverArtwork', args: [artTags], - slots: {path, displayMode: 'thumbnail'}, + slots: {path, mode: 'thumbnail'}, extraDependencies, }); }); diff --git a/test/snapshot/generateTrackCoverArtwork.js b/test/snapshot/generateTrackCoverArtwork.js index 88ff75dd..bfefb5fb 100644 --- a/test/snapshot/generateTrackCoverArtwork.js +++ b/test/snapshot/generateTrackCoverArtwork.js @@ -36,28 +36,28 @@ testContentFunctions(t, 'generateTrackCoverArtwork (snapshot)', async (t, evalua evaluate.snapshot('display: primary - unique art', { name: 'generateTrackCoverArtwork', args: [track1], - slots: {displayMode: 'primary'}, + slots: {mode: 'primary'}, extraDependencies, }); evaluate.snapshot('display: thumbnail - unique art', { name: 'generateTrackCoverArtwork', args: [track1], - slots: {displayMode: 'thumbnail'}, + slots: {mode: 'thumbnail'}, extraDependencies, }); evaluate.snapshot('display: primary - no unique art', { name: 'generateTrackCoverArtwork', args: [track2], - slots: {displayMode: 'primary'}, + slots: {mode: 'primary'}, extraDependencies, }); evaluate.snapshot('display: thumbnail - no unique art', { name: 'generateTrackCoverArtwork', args: [track2], - slots: {displayMode: 'thumbnail'}, + slots: {mode: 'thumbnail'}, extraDependencies, }); }); |