Skip to content

Commit 023224a

Browse files
test(html-to-react): verify attributesToProps is on module exports
1 parent c8bdeaa commit 023224a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/html-to-react.test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ describe('HTML to React', () => {
1515
it('has htmlToDOM', () => {
1616
expect(parse.htmlToDOM).toBe(require('html-dom-parser'));
1717
});
18+
19+
it('has attributesToProps', () => {
20+
expect(parse.attributesToProps).toBe(
21+
require('../lib/attributes-to-props')
22+
);
23+
});
1824
});
1925

2026
describe('parser', () => {

0 commit comments

Comments
 (0)