Skip to content

Commit

Permalink
test: fix test preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
henri-hulski committed Jun 6, 2023
1 parent 7bbadc5 commit c0e5fcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"format": "npm run lint -- --fix",
"lint": "eslint \"**/*.js\"",
"prepare": "npm run build",
"pretest": "babel-node test/utils/pretest.js",
"pretest": "npm run build && babel-node test/utils/pretest.js",
"release": "npm run build && node ./dist/cli.js --release --no-parallel",
"test": "REPO_COOKER_NPM_OTP= jest",
"test:watch": "npm run test -- --watch"
Expand Down
2 changes: 1 addition & 1 deletion test/utils/pretest.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ try {
clone.on('close', code => {
if (code === 0) {
mkdirSync(join(REPO_PATH, 'node_modules'))
symlinkDir('src', join(REPO_PATH, 'node_modules', 'repo-cooker'))
symlinkDir('dist', join(REPO_PATH, 'node_modules', 'repo-cooker'))
}
})
}

0 comments on commit c0e5fcc

Please sign in to comment.