Skip to content

Commit

Permalink
simplify directory setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jchip committed Jun 2, 2018
1 parent 5f05cae commit 4a06f3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ const Path = require("path");
const optionalRequire = require("optional-require")(require);

const rootDir = process.cwd();
const devPkgPath = Path.join(__dirname, "../..");

const jestPath = Path.join(devPkgPath, "config", "jest");
const jestPath = __dirname;
const fileMock = Path.join(jestPath, "__mocks__", "file-mock.js");
const frameworkMock = Path.join(jestPath, "__mocks__", "framework-mock.js");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ const Path = require("path");
const optionalRequire = require("optional-require")(require);

const rootDir = process.cwd();
const devPkgPath = Path.join(__dirname, "../..");
const jestPath = Path.join(devPkgPath, "config", "jest");

const jestPath = __dirname;
const fileMock = Path.join(jestPath, "__mocks__", "file-mock.js");
const frameworkMock = Path.join(jestPath, "__mocks__", "framework-mock.js");

Expand Down

0 comments on commit 4a06f3a

Please sign in to comment.