chore: put test coverage tresholds on 95%

This commit is contained in:
Thijs Louisse 2024-03-29 00:54:04 +01:00 committed by Thijs Louisse
parent f0333bbc1c
commit ace72d8787

View file

@ -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: {