chore: put test coverage tresholds on 95%
This commit is contained in:
parent
f0333bbc1c
commit
ace72d8787
1 changed files with 6 additions and 6 deletions
|
|
@ -22,8 +22,8 @@ const packages = fs
|
||||||
* @type {import('@web/test-runner').TestRunnerConfig['testRunnerHtml']}
|
* @type {import('@web/test-runner').TestRunnerConfig['testRunnerHtml']}
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
const testRunnerHtml = (testRunnerImport) =>
|
const testRunnerHtml = testRunnerImport =>
|
||||||
`
|
`
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<script src="/node_modules/@webcomponents/scoped-custom-element-registry/scoped-custom-element-registry.min.js"></script>
|
<script src="/node_modules/@webcomponents/scoped-custom-element-registry/scoped-custom-element-registry.min.js"></script>
|
||||||
|
|
@ -38,10 +38,10 @@ export default {
|
||||||
report: true,
|
report: true,
|
||||||
reportDir: 'coverage',
|
reportDir: 'coverage',
|
||||||
threshold: {
|
threshold: {
|
||||||
statements: 90,
|
statements: 95,
|
||||||
branches: 65,
|
functions: 95,
|
||||||
functions: 80,
|
branches: 95,
|
||||||
lines: 90,
|
lines: 95,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
testFramework: {
|
testFramework: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue