Skip to content

Commit 0671d38

Browse files
committed
SonarQube support add
1 parent 2185749 commit 0671d38

12 files changed

Lines changed: 1488 additions & 148 deletions

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ lerna-debug.log*
99

1010
# Diagnostic reports (https://nodejs.org/api/report.html)
1111
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12+
test-report.xml
13+
.scannerwork/
1214

1315
# Runtime data
1416
pids

jest.config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
module.exports = {
1+
/** @type {import('jest').Config} */
2+
const config = {
23
preset: 'ts-jest',
34
testEnvironment: 'node',
45
transform: {
56
'^.+\\.ts?$': 'ts-jest',
67
'\\.js$': '<rootDir>/node_modules/babel-jest',
78
},
89
transformIgnorePatterns: ['<rootDir>/node_modules/'],
9-
};
10+
testResultsProcessor: 'jest-sonar-reporter',
11+
};
12+
13+
module.exports = config;

0 commit comments

Comments
 (0)