From fb67b43d35fdcc91c053a6bc2dd0930e0863386f Mon Sep 17 00:00:00 2001 From: bendtherules Date: Thu, 25 Jul 2019 12:42:09 +0530 Subject: [PATCH] Refactor test - Reorder imports --- test/findNodeByName-basic.spec.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/findNodeByName-basic.spec.tsx b/test/findNodeByName-basic.spec.tsx index 005ae73..dd51f61 100644 --- a/test/findNodeByName-basic.spec.tsx +++ b/test/findNodeByName-basic.spec.tsx @@ -1,12 +1,14 @@ import * as React from "react"; + +import { FiberNodeForComponentClass } from "../src/mocked-types"; + // Import stuff from src import { findNodeByComponentName } from "../src"; +import { mountAndGetRootNode } from "./utils/mount-in-enzyme"; +import getWrappedComponent from "./utils/getWrappedComponent"; // Import test helpers and sample components -import { mountAndGetRootNode } from "./utils/mount-in-enzyme"; import CDepth1 from "./sample-components/depth-1-simple"; -import { FiberNodeForComponentClass } from "../src/mocked-types"; -import getWrappedComponent from "./utils/getWrappedComponent"; import FnDepth1 from "./sample-components/depth-1-fn-simple"; describe("findNodeByComponentName", () => {