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,7 +22,7 @@ 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>
@ -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: {