From a52093cc86d3aa4e0e13d56bf3cc3546fa0f7c8b Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Mon, 9 Jun 2025 12:55:41 +0700 Subject: [PATCH] test: remove unnecessary configuration (#722) * test: remove `.*` files from being ignored by ESLint Signed-off-by: Alfi Maulana * test: use `vitest run` to test library Signed-off-by: Alfi Maulana --------- Signed-off-by: Alfi Maulana --- eslint.config.js | 4 +--- package.json | 2 +- vitest.config.ts | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 99f3dcf..3ee43ed 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -5,7 +5,5 @@ export default [ eslint.configs.recommended, ...tseslint.configs.recommended, ...tseslint.configs.stylistic, - { - ignores: [".*", "dist"], - }, + { ignores: ["dist"] }, ]; diff --git a/package.json b/package.json index 5088559..45fa5e4 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "build": "rollup -c", "format": "prettier --write --cache . !dist !README.md", "lint": "eslint", - "test": "vitest" + "test": "vitest run" }, "dependencies": { "gha-utils": "^0.4.1" diff --git a/vitest.config.ts b/vitest.config.ts index c8a4ca6..a56280e 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -2,7 +2,6 @@ import { defineConfig } from "vitest/config"; export default defineConfig({ test: { - watch: false, coverage: { all: false, enabled: true,