diff --git a/package.json b/package.json index c8ae925..8f03f9e 100644 --- a/package.json +++ b/package.json @@ -31,9 +31,9 @@ "chai": "^3.3.0", "eslint": "^1.7.1", "mocha": "^2.3.3", - "preact": "^2.6.1" + "preact": "^3.2.0" }, "dependencies": { - "preact-render-to-string": "^1.4.1" + "preact-render-to-string": "^1.4.2" } } diff --git a/test/index.js b/test/index.js index f78ed8f..5434e88 100644 --- a/test/index.js +++ b/test/index.js @@ -22,10 +22,11 @@ describe('preact-jsx-chai', () => { expect().to.deep.equal(); }); - it('be triggered when JSX is tested', () => { + it('not be triggered when JSX is not tested', () => { expect().to.deep.equal({ nodeName: 'jsx', - attributes: {} + attributes: undefined, + children: undefined }); }); });