« get me outta code hell

test: use "native" slots shorthand instead of postprocess - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/snapshot/linkArtist.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-06-13 12:37:18 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-06-13 12:37:18 -0300
commit2ce5ddd844603b1c3d8f220a12603677104b7545 (patch)
tree1e3dc0183cd86c8dfc7e83336af7ae61e874bf04 /test/snapshot/linkArtist.js
parentf8d1e6ee6e27e5539d50191b94a79d1fcb797939 (diff)
test: use "native" slots shorthand instead of postprocess
Diffstat (limited to 'test/snapshot/linkArtist.js')
-rw-r--r--test/snapshot/linkArtist.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/snapshot/linkArtist.js b/test/snapshot/linkArtist.js
index 0451f1c5..684affc3 100644
--- a/test/snapshot/linkArtist.js
+++ b/test/snapshot/linkArtist.js
@@ -23,8 +23,8 @@ testContentFunctions(t, 'linkArtist (snapshot)', async (t, evaluate) => {
         directory: '55gore',
       },
     ],
-
-    postprocess: v => v
-      .slot('preferShortName', true),
+    slots: {
+      preferShortName: true,
+    },
   });
 });