« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/snapshot/linkTemplate.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshot/linkTemplate.js')
-rw-r--r--test/snapshot/linkTemplate.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/snapshot/linkTemplate.js b/test/snapshot/linkTemplate.js
index 10321897..07c3b501 100644
--- a/test/snapshot/linkTemplate.js
+++ b/test/snapshot/linkTemplate.js
@@ -1,10 +1,10 @@
 import t from 'tap';
 import {testContentFunctions} from '../lib/content-function.js';
 
-testContentFunctions(t, 'linkTemplate', async (t, evaluate) => {
+testContentFunctions(t, 'linkTemplate (snapshot)', async (t, evaluate) => {
   await evaluate.load();
 
-  evaluate.snapshot({
+  evaluate.snapshot('fill many slots', {
     name: 'linkTemplate',
     extraDependencies: {
       getColors: c => ({primary: c + 'ff', dim: c + '77'}),
@@ -17,7 +17,7 @@ testContentFunctions(t, 'linkTemplate', async (t, evaluate) => {
       .slot('attributes', {class: 'dog', id: 'cat1'})
       .slot('content', 'My Cool Link'));
 
-  evaluate.snapshot({
+  evaluate.snapshot('fill path slot', {
     name: 'linkTemplate',
     extraDependencies: {
       to: (...path) => '/c*lzone/' + path.join('/') + '/',