diff options
author | 2020-08-05 10:56:35 +0100 | |
---|---|---|
committer | 2020-08-05 10:56:42 +0100 | |
commit | 8161792e4e8360a9c9d6d9ef13adeda699a51f6b (patch) | |
tree | 235db0366c06eebfc24a5850235c8678d964758a /gui-pdp-monitoring/src/webapp/jest.config.js | |
parent | 76102da29a02f918d6c61e03cea4da2fd1fdcd92 (diff) |
Jest JS Coverage setup
Jest JS Coverage setup
1) Generate coverage in reports/test-reporter.xml and in
coverage/clover.xml
2) Config needed in SonarCloud project itself to pick up these reports
Issue-ID: POLICY-2610
Change-Id: I1b639ff649cd6eb690762420118b3e8f595e970b
Signed-off-by: waynedunican <wayne.dunican@est.tech>
Diffstat (limited to 'gui-pdp-monitoring/src/webapp/jest.config.js')
-rw-r--r-- | gui-pdp-monitoring/src/webapp/jest.config.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gui-pdp-monitoring/src/webapp/jest.config.js b/gui-pdp-monitoring/src/webapp/jest.config.js deleted file mode 100644 index 4f3f2e6..0000000 --- a/gui-pdp-monitoring/src/webapp/jest.config.js +++ /dev/null @@ -1,11 +0,0 @@ -module.exports = { - collectCoverageFrom: [ - 'js/*.js' - ], - - transform: { - "^.+\\.[t|j]sx?$": "babel-jest" - }, - - coverageDirectory: '<rootDir>/../../target/jscoverage', -};
\ No newline at end of file |