Skip to content

Commit e51f07c

Browse files
committed
feat(json-api-nestjs): fix after update nx
1 parent 19888e9 commit e51f07c

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

libs/json-api/json-api-nestjs/project.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,16 @@
4949
},
5050
"publish": {
5151
"command": "node tools/scripts/publish.mjs json-api-nestjs {args.ver} {args.tag}",
52-
"dependsOn": [
53-
"build"
54-
]
52+
"dependsOn": ["build"]
53+
},
54+
"test": {
55+
"executor": "@nx/jest:jest",
56+
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
57+
"options": {
58+
"jestConfig": "{projectRoot}/jest.config.ts",
59+
"codeCoverage": true,
60+
"coverageReporters": ["json-summary"]
61+
}
5562
},
5663
"ts-test": {
5764
"dependsOn": [

0 commit comments

Comments
 (0)