Skip to content

Commit 3a566f9

Browse files
committed
add parent tests
1 parent 1782421 commit 3a566f9

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

packages/enzyme-test-suite/test/ReactWrapper-spec.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3924,15 +3924,13 @@ describeWithDOM('mount', () => {
39243924
</div>`);
39253925
expect(bChild).to.have.lengthOf(1);
39263926

3927-
/*
39283927
const bChildParents = bChild.parents('.b');
39293928
expect(bChildParents.debug()).to.equal(`<div className="b">
39303929
<div>
39313930
B child
39323931
</div>
39333932
</div>`);
39343933
expect(bChildParents).to.have.lengthOf(1);
3935-
*/
39363934

39373935
const aChildParents = aChild.parents('.a');
39383936
expect(aChildParents.debug()).to.equal(`<div className="a">

packages/enzyme-test-suite/test/ShallowWrapper-spec.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3587,15 +3587,13 @@ describe('shallow', () => {
35873587
</div>`);
35883588
expect(bChild).to.have.lengthOf(1);
35893589

3590-
/*
35913590
const bChildParents = bChild.parents('.b');
35923591
expect(bChildParents.debug()).to.equal(`<div className="b">
35933592
<div>
35943593
B child
35953594
</div>
35963595
</div>`);
35973596
expect(bChildParents).to.have.lengthOf(1);
3598-
*/
35993597

36003598
const aChildParents = aChild.parents('.a');
36013599
expect(aChildParents.debug()).to.equal(`<div className="a">

0 commit comments

Comments
 (0)