From 762be9d8078a2fd19a460b7172129a9575974f1f Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 4 Apr 2023 13:44:07 -0300 Subject: test: tidy & add descriptions for existing snapshot tests --- test/snapshot/generateContributionLinks.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/snapshot/generateContributionLinks.js') diff --git a/test/snapshot/generateContributionLinks.js b/test/snapshot/generateContributionLinks.js index 10d225cd..deecf9ef 100644 --- a/test/snapshot/generateContributionLinks.js +++ b/test/snapshot/generateContributionLinks.js @@ -28,22 +28,22 @@ testContentFunctions(t, 'generateContributionLinks (snapshot)', async (t, evalua await evaluate.load(); - evaluate.snapshot({ + evaluate.snapshot('showContribution & showIcons', { name: 'generateContributionLinks', args: [contributions, {showContribution: true, showIcons: true}], }); - evaluate.snapshot({ + evaluate.snapshot('only showContribution', { name: 'generateContributionLinks', args: [contributions, {showContribution: true, showIcons: false}], }); - evaluate.snapshot({ + evaluate.snapshot('only showIcons', { name: 'generateContributionLinks', args: [contributions, {showContribution: false, showIcons: true}], }); - evaluate.snapshot({ + evaluate.snapshot('no accents', { name: 'generateContributionLinks', args: [contributions, {showContribution: false, showIcons: false}], }); -- cgit 1.3.0-6-gf8a5