Skip to content

Commit 154f3df

Browse files
committed
Add extension is undefined case for maybeRawHTMLType
1 parent ccba89b commit 154f3df

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/tests/helpers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,5 +134,6 @@ test('helpers', t => {
134134
t.equal(maybeRawHTMLType('.xhtml'), null, '.xhtml does not count as raw html type')
135135
t.equal(maybeRawHTMLType('.htm'), null, '.htm does not count as raw html type')
136136
t.equal(maybeRawHTMLType('.xml'), null, '.xml does not count as raw html type')
137+
t.equal(maybeRawHTMLType(), null, 'undefined extension does not mean raw html type')
137138
})
138139
})

0 commit comments

Comments
 (0)