Skip to content

Commit

Permalink
Update to preact 3
Browse files Browse the repository at this point in the history
  • Loading branch information
developit committed Feb 7, 2016
1 parent e0f7a72 commit 634dfe1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
5 changes: 3 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ describe('preact-jsx-chai', () => {
expect(<jsx />).to.deep.equal(<jsx />);
});

it('be triggered when JSX is tested', () => {
it('not be triggered when JSX is not tested', () => {
expect(<jsx />).to.deep.equal({
nodeName: 'jsx',
attributes: {}
attributes: undefined,
children: undefined
});
});
});
Expand Down

0 comments on commit 634dfe1

Please sign in to comment.