Skip to content

Commit 73237dd

Browse files
test(html-to-react): update variable name to fix test
1 parent e625e1d commit 73237dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/html-to-react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ describe('html-to-react', () => {
4747

4848
it('converts empty <script> to React', () => {
4949
const html = '<script></script>';
50-
const reactElement = Parser(html);
50+
const reactElement = parse(html);
5151
assert.equal(render(reactElement), html);
5252
});
5353

0 commit comments

Comments
 (0)