Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0580295

Browse files
committed
chore: fix isr + eslint-plugin coverage
1 parent 13d519a commit 0580295

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

libs/eslint-plugin/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"test": {
1515
"executor": "@nx/jest:jest",
16-
"outputs": ["{workspaceRoot}/coverage/libs/eslint-plugin"],
16+
"outputs": ["{workspaceRoot}/coverage/eslint-plugin"],
1717
"options": {
1818
"jestConfig": "libs/eslint-plugin/jest.config.ts",
1919
"passWithNoTests": true

libs/isr/jest.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ export default {
33
displayName: 'isr',
44
preset: '../../jest.preset.js',
55
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
6-
coverageDirectory: '../../coverage/libs/isr',
6+
coverageReporters: ['lcov'],
7+
coverageDirectory: '../../coverage/isr',
78
transform: {
89
'^.+\\.(ts|mjs|js|html)$': [
910
'jest-preset-angular',

libs/isr/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"test": {
2626
"executor": "@nx/jest:jest",
27-
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
27+
"outputs": ["{workspaceRoot}/coverage/isr"],
2828
"options": {
2929
"jestConfig": "libs/isr/jest.config.ts",
3030
"passWithNoTests": true,

0 commit comments

Comments
 (0)