mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-24 08:37:42 +00:00
Merge pull request #12813 from keymanapp/chore/common/web/types/remove-c8rc-json-and-merge-exclusions-into-package-json
chore(common/web): remove .c8rc.json from types and merge exclusions into package.json
This commit is contained in:
commit
09f061432f
3 changed files with 8 additions and 14 deletions
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
"exclude": [
|
||||
"src/keyboard-object.ts",
|
||||
"src/lexical-model-types.ts",
|
||||
"src/outputTarget.interface.ts",
|
||||
"src/*.d.ts",
|
||||
"src/main.ts",
|
||||
"src/schemas/*",
|
||||
"src/schema-validators.ts",
|
||||
"src/schemas.ts"
|
||||
]
|
||||
}
|
||||
|
|
@ -92,7 +92,7 @@ function do_test() {
|
|||
|
||||
readonly C8_THRESHOLD=60
|
||||
|
||||
# Excludes are defined in .c8rc.json
|
||||
# Excludes are defined in package.json
|
||||
c8 -skip-full --reporter=lcov --reporter=text --lines $C8_THRESHOLD --statements $C8_THRESHOLD --branches $C8_THRESHOLD --functions $C8_THRESHOLD mocha ${MOCHA_FLAGS} "${builder_extra_params[@]}"
|
||||
builder_echo warning "Coverage thresholds are currently $C8_THRESHOLD%, which is lower than ideal."
|
||||
builder_echo warning "Please increase threshold in build.sh as test coverage improves."
|
||||
|
|
|
|||
|
|
@ -76,7 +76,13 @@
|
|||
"src/keyman-touch-layout/keyman-touch-layout-file-writer.ts",
|
||||
"src/osk/osk.ts",
|
||||
"src/schemas/*",
|
||||
"tests/"
|
||||
"tests/",
|
||||
"src/keyboard-object.ts",
|
||||
"src/outputTarget.interface.ts",
|
||||
"src/*.d.ts",
|
||||
"src/main.ts",
|
||||
"src/schema-validators.ts",
|
||||
"src/schemas.ts"
|
||||
]
|
||||
},
|
||||
"sideEffects": false
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue