diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/snapshot/linkContribution.js | 10 | ||||
-rw-r--r-- | test/unit/content/dependencies/linkContribution.js | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/test/snapshot/linkContribution.js b/test/snapshot/linkContribution.js index 5844b0b9..47ef1503 100644 --- a/test/snapshot/linkContribution.js +++ b/test/snapshot/linkContribution.js @@ -33,13 +33,13 @@ testContentFunctions(t, 'linkContribution (snapshot)', async (t, evaluate) => { slots, }); - quickSnapshot('showContribution & showExternalLinks', { - showContribution: true, + quickSnapshot('showAnnotation & showExternalLinks', { + showAnnotation: true, showExternalLinks: true, }); - quickSnapshot('only showContribution', { - showContribution: true, + quickSnapshot('only showAnnotation', { + showAnnotation: true, }); quickSnapshot('only showExternalLinks', { @@ -66,7 +66,7 @@ testContentFunctions(t, 'linkContribution (snapshot)', async (t, evaluate) => { }); quickSnapshot('no preventWrapping', { - showContribution: true, + showAnnotation: true, showExternalLinks: true, preventWrapping: false, }); diff --git a/test/unit/content/dependencies/linkContribution.js b/test/unit/content/dependencies/linkContribution.js index e7a29310..3ffd71d2 100644 --- a/test/unit/content/dependencies/linkContribution.js +++ b/test/unit/content/dependencies/linkContribution.js @@ -26,7 +26,7 @@ t.test('generateContributionLinks (unit)', async t => { await testContentFunctions(t, 'generateContributionLinks (unit 1)', async (t, evaluate) => { const slots = { - showContribution: true, + showAnnotation: true, showExternalLinks: true, }; @@ -81,7 +81,7 @@ t.test('generateContributionLinks (unit)', async t => { await testContentFunctions(t, 'generateContributionLinks (unit 2)', async (t, evaluate) => { const slots = { - showContribution: false, + showAnnotation: false, showExternalLinks: false, }; |