Skip to content

Commit e2cc264

Browse files
fixing test (#2)
1 parent c70cbd2 commit e2cc264

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/CheckboxTree.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,8 @@ describe('<CheckboxTree />', () => {
351351
/>,
352352
);
353353

354-
assert.equal(true, wrapper.find(TreeNode).prop('isParent'));
355-
assert.equal(false, wrapper.find(TreeNode).prop('isLeaf'));
354+
assert.equal(false, wrapper.find(TreeNode).prop('isParent'));
355+
assert.equal(true, wrapper.find(TreeNode).prop('isLeaf'));
356356
});
357357

358358
it('should render a node with a non-empty "children" array as a parent', () => {

0 commit comments

Comments
 (0)