File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed
utils/entity-update-command-builder Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 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 ;
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 11{
22 "extends" : " @tsconfig/node20/tsconfig.json" ,
33 "include" : [
4- " src/*" ,
54 " src/**/*"
65 ]
76}
You can’t perform that action at this time.
0 commit comments