Skip to content

Commit

Permalink
Merge pull request #229 from aishwaryamathuria/codecov
Browse files Browse the repository at this point in the history
MWPW-144525 | Fixing the code coverage plugin path
  • Loading branch information
salonijain3 authored Mar 15, 2024
2 parents e44c2cf + 2b3253b commit 2ee9fbf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
10 changes: 10 additions & 0 deletions codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
coverage:
status:
patch:
default:
target: 100%
threshold: 0.1%
project:
default:
target: auto
threshold: 0.1%
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@adobecom/cc",
"private": true,
"version": "1.0.0",
"description": "Website foundation technology.",
"description": "Adobe Creative Cloud",
"scripts": {
"test": "wtr --config ./web-test-runner.config.mjs \"./test/**/*.test.(js|html)\" --node-resolve --port=2000 --coverage",
"test:watch": "npm test -- --watch",
Expand All @@ -15,14 +15,14 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/adobecom/college.git"
"url": "git+https://github.com/adobecom/cc.git"
},
"author": "Adobe",
"license": "Apache License 2.0",
"bugs": {
"url": "https://github.com/adobecom/college/issues"
"url": "https://github.com/adobecom/cc/issues"
},
"homepage": "https://github.com/adobecom/college#readme",
"homepage": "https://github.com/adobecom/cc#readme",
"devDependencies": {
"@babel/core": "7.17.7",
"@babel/eslint-parser": "7.17.0",
Expand Down
4 changes: 2 additions & 2 deletions web-test-runner.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const swcImportMaps = Object.fromEntries([

export default {
coverageConfig: {
include: ['src/**'],
exclude: ['test/mocks/**', 'test/**', '**/node_modules/**'],
include: ['creativecloud/**'],
exclude: ['test/mocks/**', 'test/**', '**/node_modules/**', 'creativecloud/deps/**'],
},
debug: false,
files: ['test/**/*.test.(js|html)'],
Expand Down

0 comments on commit 2ee9fbf

Please sign in to comment.