Skip to content

Commit

Permalink
fix: pin chai-as-promised
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone committed Sep 13, 2024
1 parent c1aab95 commit 57077ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/package.json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ const templateFunction: TemplateFunction = async answers => {
...(isAdapter ? [
// support adapter testing by default
"chai@4", // v5 is ESM and incompatible with chai-as-promised
"chai-as-promised",
"chai-as-promised@7",
`mocha`,
`sinon`,
"sinon-chai@3",
"proxyquire",
] : []),
...(isAdapter && useTypeChecking ? [
"@types/chai@4",
"@types/chai-as-promised",
"@types/chai-as-promised@7",
"@types/mocha",
"@types/sinon",
"@types/sinon-chai@3",
Expand Down

0 comments on commit 57077ae

Please sign in to comment.