Skip to content

Commit abbf494

Browse files
authored
Merge pull request #1767 from hashicorp/stop-pinning-jest-in-ts-init-template
fix(cli): Stop pinning jest in TS init template
2 parents 91e226c + c59e5b3 commit abbf494

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/cdktf-cli/templates/typescript/.hooks.sscaff.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ exports.post = ctx => {
1212
if (!npm_cdktf) { throw new Error(`missing context "npm_cdktf"`); }
1313

1414
installDeps([npm_cdktf, `constructs@10`]);
15-
// make sure we have at least https://github.com/facebook/jest/releases/tag/v27.4.3 due to https://github.com/facebook/jest/issues/12098
16-
installDeps(['@types/node', 'typescript', 'jest@^27.4.3', '@types/jest', "ts-jest", "ts-node"], true);
15+
installDeps(['@types/node', 'typescript', 'jest', '@types/jest', "ts-jest", "ts-node"], true);
1716

1817
console.log(readFileSync('./help', 'utf-8'));
1918
};

0 commit comments

Comments
 (0)