mirror of
https://github.com/bendtherules/react-fiber-traverse.git
synced 2026-08-18 13:52:36 +00:00
Update all imnport usages of mountInEnzyme
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user