Skip to content

Commit

Permalink
test: replaceExtension feature disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Simone Sestito committed Jul 30, 2019
1 parent 8120ad1 commit 851a714
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ test('Replace extension', (t) => {
})
})

test('Append extension', (t) => {
return compare(t, 'no-extension', {
replaceExtension: false
})
})

function compare (t, name, options) {
const html = readFileSync(path.join(fixtures, `${name}.html`), 'utf8')
const expected = readFileSync(path.join(fixtures, `${name}.expected.html`), 'utf8')
Expand Down

0 comments on commit 851a714

Please sign in to comment.