diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/snapshot/generateContributionLinks.js | 9 | ||||
-rw-r--r-- | test/unit/content/dependencies/generateContributionLinks.js | 4 |
2 files changed, 10 insertions, 3 deletions
diff --git a/test/snapshot/generateContributionLinks.js b/test/snapshot/generateContributionLinks.js index deecf9ef..3283d3b2 100644 --- a/test/snapshot/generateContributionLinks.js +++ b/test/snapshot/generateContributionLinks.js @@ -1,7 +1,12 @@ +// todo: this dependency was replaced with linkContribution, restructure test +// remove generateContributionLinks.js.test.cjs snapshot file too! + import t from 'tap'; import {testContentFunctions} from '../lib/content-function.js'; -testContentFunctions(t, 'generateContributionLinks (snapshot)', async (t, evaluate) => { +t.skip('generateContributionLinks (snapshot)'); + +void (() => testContentFunctions(t, 'generateContributionLinks (snapshot)', async (t, evaluate) => { const artist1 = { name: 'Clark Powell', directory: 'clark-powell', @@ -47,4 +52,4 @@ testContentFunctions(t, 'generateContributionLinks (snapshot)', async (t, evalua name: 'generateContributionLinks', args: [contributions, {showContribution: false, showIcons: false}], }); -}); +})); diff --git a/test/unit/content/dependencies/generateContributionLinks.js b/test/unit/content/dependencies/generateContributionLinks.js index a2f02ac7..328adc0b 100644 --- a/test/unit/content/dependencies/generateContributionLinks.js +++ b/test/unit/content/dependencies/generateContributionLinks.js @@ -1,7 +1,9 @@ +// todo: this dependency was replaced with linkContribution, restructure test + import t from 'tap'; import {testContentFunctions} from '../../../lib/content-function.js'; -t.test('generateContributionLinks (unit)', async t => { +t.skip('generateContributionLinks (unit)', async t => { const artist1 = { name: 'Clark Powell', urls: ['https://soundcloud.com/plazmataz'], |