diff --git a/test/unit/helpers/shallowUntilTarget.test.jsx b/test/unit/helpers/shallowUntilTarget.test.jsx index 6ad9e9a9..14043c10 100644 --- a/test/unit/helpers/shallowUntilTarget.test.jsx +++ b/test/unit/helpers/shallowUntilTarget.test.jsx @@ -55,10 +55,7 @@ describe("helpers", () => { }); it("lets you unwrap a component two levels", () => { - const Example = compose( - wrapper(), - wrapper() - )(ExampleBase); + const Example = compose(wrapper(), wrapper())(ExampleBase); const root = shallowUntilTarget(, ExampleBase); expect(root.text()).toEqual("Example component"); @@ -84,11 +81,7 @@ describe("helpers", () => { }); it("gives up trying to unwrap component after maxTries", () => { - const Example = compose( - wrapper(), - wrapper(), - wrapper() - )(ExampleBase); + const Example = compose(wrapper(), wrapper(), wrapper())(ExampleBase); expect(() => { shallowUntilTarget(, ExampleBase, {