From fe95fff0d5f55e58b5f8242b23764d5b38c5ebb6 Mon Sep 17 00:00:00 2001 From: Santiago Palladino Date: Wed, 12 Apr 2023 16:32:25 -0300 Subject: [PATCH] Fix jest config for aztec-node --- yarn-project/aztec-node/package.json | 12 +++--------- yarn-project/aztec-node/tsconfig.json | 2 +- yarn-project/yarn.lock | 6 +++--- 3 files changed, 7 insertions(+), 13 deletions(-) diff --git a/yarn-project/aztec-node/package.json b/yarn-project/aztec-node/package.json index efc83e3a9a9..3da31565dc3 100644 --- a/yarn-project/aztec-node/package.json +++ b/yarn-project/aztec-node/package.json @@ -26,12 +26,6 @@ ], "jest": { "preset": "ts-jest/presets/default-esm", - "globals": { - "ts-jest": { - "useESM": true, - "tsconfig": "../tsconfig.json" - } - }, "moduleNameMapper": { "^(\\.{1,2}/.*)\\.js$": "$1" }, @@ -54,11 +48,11 @@ "devDependencies": { "@jest/globals": "^29.4.3", "@rushstack/eslint-patch": "^1.1.4", - "@types/jest": "^29.4.0", + "@types/jest": "^29.5.0", "@types/node": "^18.7.23", "concurrently": "^7.6.0", - "jest": "^28.1.3", - "ts-jest": "^28.0.7", + "jest": "^29.5.0", + "ts-jest": "^29.1.0", "ts-node": "^10.9.1", "typescript": "^4.9.5" }, diff --git a/yarn-project/aztec-node/tsconfig.json b/yarn-project/aztec-node/tsconfig.json index a4316844443..000ec31f76e 100644 --- a/yarn-project/aztec-node/tsconfig.json +++ b/yarn-project/aztec-node/tsconfig.json @@ -37,5 +37,5 @@ "path": "../world-state" } ], - "include": ["src", "test"] + "include": ["src"] } diff --git a/yarn-project/yarn.lock b/yarn-project/yarn.lock index 5c5960322f6..1aa864fdd03 100644 --- a/yarn-project/yarn.lock +++ b/yarn-project/yarn.lock @@ -112,11 +112,11 @@ __metadata: "@aztec/world-state": "workspace:^" "@jest/globals": ^29.4.3 "@rushstack/eslint-patch": ^1.1.4 - "@types/jest": ^29.4.0 + "@types/jest": ^29.5.0 "@types/node": ^18.7.23 concurrently: ^7.6.0 - jest: ^28.1.3 - ts-jest: ^28.0.7 + jest: ^29.5.0 + ts-jest: ^29.1.0 ts-node: ^10.9.1 tslib: ^2.4.0 typescript: ^4.9.5