Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzhangyu committed Sep 3, 2017
1 parent 83b2cab commit 22061cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Create a `iframe` or `new window` to print a part of page what you want. Considering the [a-x-/react-easy-print](https://github.com/a-x-/react-easy-print) if you don`t like to use these two methods

> travis is comming soon
> travis is coming soon
[中文前看这里](./README_zh-CN.md)

Expand Down
2 changes: 1 addition & 1 deletion test/index-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('Test the Print`s index.js', function () {
expect(component.instance().props.otherStyle).toEqual(null);
expect(component.instance().props.isIframe).toEqual(false);
expect(component.instance().props.iframeStyle)
.toEqual('position:absolute;width:0px;height:0px;left:-500px;top:-500px;');
.toEqual('position:absolute;width:0px;height:0px;');
expect(component.instance().props.winStyle).toEqual('toolbar=no,menubar=no');
expect(component.instance().props.title).toEqual('this.is a title');
expect(component.instance().props.preventDefault).toEqual(false);
Expand Down

0 comments on commit 22061cf

Please sign in to comment.