Skip to content

Commit

Permalink
[add] __treeId__ test-case
Browse files Browse the repository at this point in the history
  • Loading branch information
taoqili committed Nov 21, 2018
1 parent f5a1e16 commit ba155a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/inlineedit.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ describe('inlineEdit', () => {
}]}
/>
);
expect(wrapper.instance().getData().data.data[1].id).to.be('2');
wrapper.instance().delRow(wrapper.instance().getData().data.data[0], () => {
const data = wrapper.instance().getData().data;
expect(data.data[0].id).to.be('2');
Expand Down

0 comments on commit ba155a8

Please sign in to comment.