From 6007f6eecd8b8593d5bf826df83ec77d9714e7f1 Mon Sep 17 00:00:00 2001 From: Sebastian Korfmann Date: Wed, 1 Dec 2021 10:14:41 +0100 Subject: [PATCH] chore(deps): Try pinning jest as mentioned in https://github.com/facebook/jest/issues/12098#issuecomment-983129455 --- packages/cdktf-cli/templates/typescript/.hooks.sscaff.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cdktf-cli/templates/typescript/.hooks.sscaff.js b/packages/cdktf-cli/templates/typescript/.hooks.sscaff.js index 4b6f80a9d2..4d1037d1a7 100644 --- a/packages/cdktf-cli/templates/typescript/.hooks.sscaff.js +++ b/packages/cdktf-cli/templates/typescript/.hooks.sscaff.js @@ -12,7 +12,7 @@ exports.post = ctx => { if (!npm_cdktf) { throw new Error(`missing context "npm_cdktf"`); } installDeps([npm_cdktf, `constructs@10`]); - installDeps(['@types/node', 'typescript', 'jest', '@types/jest', "ts-jest", "ts-node"], true); + installDeps(['@types/node', 'typescript', 'jest@^26.6.3', '@types/jest', "ts-jest", "ts-node"], true); console.log(readFileSync('./help', 'utf-8')); };