From 45f00195571e3325c7db6ca9328fe14b24da5fe7 Mon Sep 17 00:00:00 2001 From: Sherwin H Date: Tue, 12 Nov 2019 16:45:45 -0800 Subject: [PATCH] style: sync with prettier --- test/unit/helpers/shallowUntilTarget.test.jsx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) 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, {