Skip to content

Commit b7c2d8d

Browse files
committed
jest config changes
1 parent d26ab98 commit b7c2d8d

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
export { baseJestConfig as default } from 'nhs-notify-web-template-management-utils'; // eslint-disable-line no-restricted-exports
1+
import type { Config } from 'jest';
2+
import { baseJestConfig } from 'nhs-notify-web-template-management-utils'; // eslint-disable-line no-restricted-exports
3+
4+
const config: Config = { ...baseJestConfig, testEnvironment: 'node' };
5+
6+
export default config;

utils/entity-update-command-builder/package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@
55
"scripts": {
66
"lint": "eslint .",
77
"lint:fix": "eslint . --fix",
8-
"test:unit": "jest --passWithNoTests",
8+
"test:unit": "jest",
99
"typecheck": "tsc --noEmit"
1010
},
1111
"devDependencies": {
12-
"@tsconfig/node20": "^20.1.5"
12+
"@swc/core": "^1.11.3",
13+
"@swc/jest": "^0.2.37",
14+
"@tsconfig/node20": "^20.1.5",
15+
"@types/jest": "^29.5.14",
16+
"jest": "^29.7.0"
1317
},
1418
"dependencies": {
1519
"nhs-notify-backend-client": "0.0.1",
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"extends": "@tsconfig/node20/tsconfig.json",
33
"include": [
4-
"src/*",
54
"src/**/*"
65
]
76
}

0 commit comments

Comments
 (0)