Skip to content

Commit 851a714

Browse files
author
Simone Sestito
committed
test: replaceExtension feature disabled
1 parent 8120ad1 commit 851a714

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ test('Replace extension', (t) => {
1717
})
1818
})
1919

20+
test('Append extension', (t) => {
21+
return compare(t, 'no-extension', {
22+
replaceExtension: false
23+
})
24+
})
25+
2026
function compare (t, name, options) {
2127
const html = readFileSync(path.join(fixtures, `${name}.html`), 'utf8')
2228
const expected = readFileSync(path.join(fixtures, `${name}.expected.html`), 'utf8')

0 commit comments

Comments
 (0)