diff --git a/test/CheckboxTree.js b/test/CheckboxTree.js index 4c7f3c26..43576441 100644 --- a/test/CheckboxTree.js +++ b/test/CheckboxTree.js @@ -351,8 +351,8 @@ describe('', () => { />, ); - assert.equal(true, wrapper.find(TreeNode).prop('isParent')); - assert.equal(false, wrapper.find(TreeNode).prop('isLeaf')); + assert.equal(false, wrapper.find(TreeNode).prop('isParent')); + assert.equal(true, wrapper.find(TreeNode).prop('isLeaf')); }); it('should render a node with a non-empty "children" array as a parent', () => {