Skip to content

Commit

Permalink
Drag resizer test
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkp committed Jan 2, 2018
1 parent 1fac160 commit 1dc52b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/default-split-pane-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
findRenderedComponentWithType,
scryRenderedComponentsWithType,
} from 'react-dom/test-utils';
import { render, findDOMNode } from 'react-dom';
import {render, findDOMNode} from 'react-dom';

describe('Div panes', () => {

Expand Down Expand Up @@ -166,8 +166,8 @@ describe('Div panes', () => {
.assertNumberOfPanes(2)
.assertNumberOfResizers(1)
.assertSizes([299.5, 299.5])
.dragResizer(0, {x:20, y:0})
.assertSizes([319.5, 279.5]);
.dragResizer(0, {x: 20, y: 0})
.assertSizes([319.47, 279.53]);
});
});
});

0 comments on commit 1dc52b6

Please sign in to comment.