Skip to content

Commit

Permalink
Use pnpm with mocha
Browse files Browse the repository at this point in the history
  • Loading branch information
grant0417 committed Nov 21, 2023
1 parent 3e4e8c0 commit b3695e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion generators/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "tsc",
"pretest": "pnpm build",
"test": "mocha",
"test": "mocha --require tsx",
"prepack": "pnpm build"
},
"author": "Federico Ciardi <[email protected]>",
Expand All @@ -24,6 +24,7 @@
"mocha": "^10.2.0",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0",
"tsx": "^4.1.4",
"typescript": "~5.2.0"
},
"publishConfig": {
Expand Down
4 changes: 0 additions & 4 deletions generators/test/hook.js
Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
require("ts-node").register({
project: "./tsconfig.json",
});
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b3695e6

Please sign in to comment.