Skip to content

Commit

Permalink
Fix: Test adapted so that they run independently of the current year
Browse files Browse the repository at this point in the history
  • Loading branch information
uniqueck committed Jan 3, 2024
1 parent 5b494ae commit d0b9035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ describe('Conversion', () => {
const registry = asciidoctor.Extensions.create()
jiraExt.register(registry)

const html = asciidoctor.convert('roadmap::ROADMAP[]', { extension_registry: registry, attributes: { imagesoutdir: 'test/.images', 'roadmap-jira-baseurl': 'https://uniqueck.atlassian.net' } })
const html = asciidoctor.convert('roadmap::ROADMAP[year=2023]', { extension_registry: registry, attributes: { imagesoutdir: 'test/.images', 'roadmap-jira-baseurl': 'https://uniqueck.atlassian.net' } })

const expectedPlantumlContent = ['@startgantt', 'printscale monthly zoom 3']
expectedPlantumlContent.push('language de', 'Project starts the 1st of january 2023')
Expand Down

0 comments on commit d0b9035

Please sign in to comment.