Skip to content

Commit

Permalink
[enzyme-test-suites] Clean up useEffect test lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chenesan committed Jun 11, 2019
1 parent fb11a61 commit d01bcfa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/enzyme-test-suite/test/shared/hooks/useEffect.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ export default function describeUseEffect({

expect(wrapper.debug()).to.equal(
isShallow
? `<div>
? `<div>
1
</div>`
: `<ComponentUsingEffectHook>
: `<ComponentUsingEffectHook>
<div>
1
</div>
Expand All @@ -111,10 +111,10 @@ export default function describeUseEffect({
wrapper.update();
expect(wrapper.debug()).to.equal(
isShallow
? `<div>
? `<div>
2
</div>`
: `<ComponentUsingEffectHook>
: `<ComponentUsingEffectHook>
<div>
2
</div>
Expand Down

0 comments on commit d01bcfa

Please sign in to comment.