Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RyosukeCla committed Sep 18, 2019
1 parent 96de69e commit a3a27b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions __tests__/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ const packageAPath = path.resolve(
projectPath,
packageJson.localDependencies.packageA
);
const packageBpath = path.resolve(
const packageBPath = path.resolve(
projectPath,
packageJson.localDependencies.packageB
);
const entityInPackageAPath = path.resolve(packageAPath, "./entity");
const entityInPackageBPath = path.resolve(packageBpath, "./entity");
const entityInPackageBPath = path.resolve(packageBPath, "./entity");
const nodeModulesPath = path.resolve(projectPath, "./node_modules");

test("should work", () => {
// setup project
fs.mkdirSync(projectPath);
fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson));
fs.mkdirSync(packageAPath);
fs.mkdirSync(packageBpath, { recursive: true });
fs.mkdirSync(packageBPath, { recursive: true });
fs.writeFileSync(entityInPackageAPath, "packageA");
fs.writeFileSync(entityInPackageBPath, "packageB");

Expand Down

0 comments on commit a3a27b0

Please sign in to comment.