Skip to content

Commit

Permalink
# fixed NYC exclude
Browse files Browse the repository at this point in the history
Signed-off-by: Theo Truong <theotr@amazon.com>
  • Loading branch information
nhtruong committed Sep 4, 2024
1 parent ddbc45d commit d7fe4b1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
"test:integration:helpers": "tap test/integration/helpers/*.test.js",
"test:integration:helpers-secure": "tap test/integration/helpers-secure/*.test.js",
"test:types": "tsd",
"test:coverage-90": "tap test/{unit,acceptance}/{*,**/*,**/**/*}.test.js --coverage --branches=90 --functions=90 --lines=90 --statements=90 --nyc-arg=\"--exclude=api,lib/OpenSearchAPi.js\"",
"test:coverage-report": "tap test/{unit,acceptance}/{*,**/*,**/**/*}.test.js --coverage --branches=90 --functions=90 --lines=90 --statements=90 --nyc-arg=\"--exclude=api,lib/OpenSearchAPi.js\" && nyc report --reporter=text-lcov > coverage.lcov",
"test:coverage-90": "tap test/{unit,acceptance}/{*,**/*,**/**/*}.test.js --coverage --branches=90 --functions=90 --lines=90 --statements=90",
"test:coverage-report": "tap test/{unit,acceptance}/{*,**/*,**/**/*}.test.js --coverage --branches=90 --functions=90 --lines=90 --statements=90 && nyc report --reporter=text-lcov > coverage.lcov",
"test:coverage-ui": "tap test/{unit,acceptance}/{*,**/*,**/**/*}.test.js --coverage --coverage-report=html --nyc-arg=\"--exclude=api\"",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
Expand Down Expand Up @@ -136,5 +136,11 @@
"flow": false,
"coverage": false,
"jobs-auto": true
},
"nyc": {
"exclude": [
"api/**",
"lib/OpenSearchAPI.js"
]
}
}

0 comments on commit d7fe4b1

Please sign in to comment.