diff --git a/src/plugins/artifact/editor/testUtil.js b/src/app/testUtil.js similarity index 100% rename from src/plugins/artifact/editor/testUtil.js rename to src/app/testUtil.js diff --git a/src/plugins/artifact/editor/App.test.js b/src/plugins/artifact/editor/App.test.js index 5419a36..2cae219 100644 --- a/src/plugins/artifact/editor/App.test.js +++ b/src/plugins/artifact/editor/App.test.js @@ -3,7 +3,7 @@ import React from "react"; import ReactDOM from "react-dom"; import App from "./App"; -require("./testUtil").configureAphrodite(); +require("../../../app/testUtil").configureAphrodite(); // Check that PropTypes check out. it("renders without crashing", () => { diff --git a/src/plugins/artifact/editor/ArtifactGraphEditor.test.js b/src/plugins/artifact/editor/ArtifactGraphEditor.test.js index 3f92d59..3103abe 100644 --- a/src/plugins/artifact/editor/ArtifactGraphEditor.test.js +++ b/src/plugins/artifact/editor/ArtifactGraphEditor.test.js @@ -7,8 +7,8 @@ import {Graph} from "../../../core/graph"; import {ArtifactGraphEditor} from "./ArtifactGraphEditor"; import {artifactAddress} from "../artifactPlugin"; -require("./testUtil").configureAphrodite(); -require("./testUtil").configureEnzyme(); +require("../../../app/testUtil").configureAphrodite(); +require("../../../app/testUtil").configureEnzyme(); describe("ArtifactGraphEditor", () => { function createComponent(onChange) { diff --git a/src/plugins/artifact/editor/ContributionList.test.js b/src/plugins/artifact/editor/ContributionList.test.js index bd057d9..29eadb0 100644 --- a/src/plugins/artifact/editor/ContributionList.test.js +++ b/src/plugins/artifact/editor/ContributionList.test.js @@ -12,8 +12,8 @@ import {AdapterSet} from "./adapterSet"; import {ContributionList} from "./ContributionList"; import {Graph} from "../../../core/graph"; -require("./testUtil").configureAphrodite(); -require("./testUtil").configureEnzyme(); +require("../../../app/testUtil").configureAphrodite(); +require("../../../app/testUtil").configureEnzyme(); function createTestData(): * { type PayloadA = number; diff --git a/src/plugins/artifact/editor/adapters/githubPluginAdapter.test.js b/src/plugins/artifact/editor/adapters/githubPluginAdapter.test.js index 4cd204d..833ba32 100644 --- a/src/plugins/artifact/editor/adapters/githubPluginAdapter.test.js +++ b/src/plugins/artifact/editor/adapters/githubPluginAdapter.test.js @@ -9,7 +9,7 @@ import {parse} from "../../../github/parser"; import exampleRepoData from "../../../github/demoData/example-github.json"; import adapter from "./githubPluginAdapter"; -require("../testUtil").configureEnzyme(); +require("../../../../app/testUtil").configureEnzyme(); describe("githubPluginAdapter", () => { it("operates on the example repo", () => {