From 24912dd43e975dcbd6fd7fb5342a44a4933d0429 Mon Sep 17 00:00:00 2001 From: Clockwork Date: Tue, 30 Jan 2024 11:43:34 +0200 Subject: [PATCH] chore: Lint? (#11) * chore: Lint? * Update src/utils/index.ts Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore: Reintroduce err * Update src/utils/index.ts Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore: Add coverage thresholds --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- vitest.config.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vitest.config.ts b/vitest.config.ts index b5ce555..4d16701 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -6,6 +6,12 @@ export default defineConfig({ coverage: { include: ["src/**/*.ts"], reporter: ["text", "json", "json-summary"], + thresholds: { + lines: 50, + branches: 50, + functions: 50, + statements: 50, + }, }, }, });