Skip to content

Commit

Permalink
[update] test
Browse files Browse the repository at this point in the history
  • Loading branch information
shibe97 committed Dec 16, 2016
1 parent f7b7098 commit 300f756
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/modal.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ describe('Modal', () => {
</Modal>
);
const output = renderer.getRenderOutput();
console.log(output.props.children.props.children[0]);
assert(
output.props.children[1].props.children.props.style.width === "600px" &&
output.props.children[1].props.children.props.style.height === "500px"
output.props.children.props.children[0].props.style.width === "600px" &&
output.props.children.props.children[0].props.style.height === "500px"
);
});
});
Expand Down

0 comments on commit 300f756

Please sign in to comment.