diff --git a/package.json b/package.json index 610a9f4d..8542b650 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ ], "dependencies": { "domhandler": "5.0.3", - "html-dom-parser": "3.0.1", + "html-dom-parser": "3.1.0", "react-property": "2.0.0", "style-to-js": "1.1.1" }, diff --git a/test/index.test.js b/test/index.test.js index 53f3a542..c957ddd6 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -17,7 +17,7 @@ describe('module', () => { it('exports htmlToDOM', () => { expect(parse.htmlToDOM).toBe(require('html-dom-parser')); expect(parse.htmlToDOM).toBeInstanceOf(Function); - expect(parse.htmlToDOM.default).toBe(undefined); + expect(parse.htmlToDOM.default).toBe(parse.htmlToDOM); }); it('exports attributesToProps', () => {