Update all imnport usages of mountInEnzyme

This commit is contained in:
2019-08-02 19:53:10 +05:30
parent a7328abe53
commit 1643065536
9 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import { FiberNodeForComponentClass } from "../src/mocked-types";
// Import stuff from src // Import stuff from src
import { findNodeByComponent } from "../src"; import { findNodeByComponent } from "../src";
import { mountAndGetRootNode } from "./utils/mount-in-enzyme"; import { mountAndGetRootNode } from "./utils/mountInEnzyme";
import getWrappedComponent from "./utils/getWrappedComponent"; import getWrappedComponent from "./utils/getWrappedComponent";
// Import test helpers and sample components // Import test helpers and sample components
+1 -1
View File
@@ -4,7 +4,7 @@ import { FiberNodeForComponentClass } from "../src/mocked-types";
// Import stuff from src // Import stuff from src
import { findNodeByComponentRef } from "../src"; import { findNodeByComponentRef } from "../src";
import { mountAndGetRootNode } from "./utils/mount-in-enzyme"; import { mountAndGetRootNode } from "./utils/mountInEnzyme";
import getWrappedComponent from "./utils/getWrappedComponent"; import getWrappedComponent from "./utils/getWrappedComponent";
// Import test helpers and sample components // Import test helpers and sample components
+1 -1
View File
@@ -4,7 +4,7 @@ import { FiberNodeForComponentClass } from "../src/mocked-types";
// Import stuff from src // Import stuff from src
import { findNodeByComponentName } from "../src"; import { findNodeByComponentName } from "../src";
import { mountAndGetRootNode } from "./utils/mount-in-enzyme"; import { mountAndGetRootNode } from "./utils/mountInEnzyme";
import getWrappedComponent from "./utils/getWrappedComponent"; import getWrappedComponent from "./utils/getWrappedComponent";
// Import test helpers and sample components // Import test helpers and sample components
+1 -1
View File
@@ -4,7 +4,7 @@ import { FiberNodeForComponentClass } from "../src/mocked-types";
// Import stuff from src // Import stuff from src
import { findNodeByComponentName } from "../src"; import { findNodeByComponentName } from "../src";
import { mountAndGetRootNode } from "./utils/mount-in-enzyme"; import { mountAndGetRootNode } from "./utils/mountInEnzyme";
import getWrappedComponent from "./utils/getWrappedComponent"; import getWrappedComponent from "./utils/getWrappedComponent";
// Import test helpers and sample components // Import test helpers and sample components
+1 -1
View File
@@ -4,7 +4,7 @@ import * as React from "react";
import { traverse } from "../src"; import { traverse } from "../src";
// Import test helpers and sample components // Import test helpers and sample components
import { mountAndGetRootNode } from "./utils/mount-in-enzyme"; import { mountAndGetRootNode } from "./utils/mountInEnzyme";
import CDepth1 from "./sample-components/depth-1-simple"; import CDepth1 from "./sample-components/depth-1-simple";
import CDepth2 from "./sample-components/depth-2-simple"; import CDepth2 from "./sample-components/depth-2-simple";
import CDepth5 from "./sample-components/depth-5-simple"; import CDepth5 from "./sample-components/depth-5-simple";
+1 -1
View File
@@ -4,7 +4,7 @@
import { traverse } from "../src"; import { traverse } from "../src";
// Import test helpers and sample components // Import test helpers and sample components
import { mountAndGetRootNode } from "./utils/mount-in-enzyme"; import { mountAndGetRootNode } from "./utils/mountInEnzyme";
describe("traverse", () => { describe("traverse", () => {
let container: HTMLDivElement; let container: HTMLDivElement;
+1 -1
View File
@@ -4,7 +4,7 @@
import { traverse } from "../src"; import { traverse } from "../src";
// Import test helpers and sample components // Import test helpers and sample components
import { mountAndGetRootNode } from "./utils/mount-in-enzyme"; import { mountAndGetRootNode } from "./utils/mountInEnzyme";
import CDepth2Nested1 from "./sample-components/depth-2-nested-1"; import CDepth2Nested1 from "./sample-components/depth-2-nested-1";
import CDepth3Nested1 from "./sample-components/depth-3-nested-1"; import CDepth3Nested1 from "./sample-components/depth-3-nested-1";
import CDepth7Nested2 from "./sample-components/depth-7-nested-2"; import CDepth7Nested2 from "./sample-components/depth-7-nested-2";
+1 -1
View File
@@ -9,7 +9,7 @@ import {
import { traverseGenerator } from "../src"; import { traverseGenerator } from "../src";
// Import test helpers and sample components // Import test helpers and sample components
import { mountAndGetRootNode } from "./utils/mount-in-enzyme"; import { mountAndGetRootNode } from "./utils/mountInEnzyme";
import getWrappedComponent from './utils/getWrappedComponent'; import getWrappedComponent from './utils/getWrappedComponent';
import CDepth1 from "./sample-components/depth-1-simple"; import CDepth1 from "./sample-components/depth-1-simple";
import CDepth2 from "./sample-components/depth-2-simple"; import CDepth2 from "./sample-components/depth-2-simple";
+1 -1
View File
@@ -9,7 +9,7 @@ import * as React from "react";
import { traverseGenerator } from "../src"; import { traverseGenerator } from "../src";
// Import test helpers and sample components // Import test helpers and sample components
import { mountAndGetRootNode } from "./utils/mount-in-enzyme"; import { mountAndGetRootNode } from "./utils/mountInEnzyme";
// import getWrappedComponent from './utils/getWrappedComponent'; // import getWrappedComponent from './utils/getWrappedComponent';
import CDepth1 from "./sample-components/depth-1-simple"; import CDepth1 from "./sample-components/depth-1-simple";
import { FiberNodeForFunctionComponent } from "../src/mocked-types"; import { FiberNodeForFunctionComponent } from "../src/mocked-types";