From 241e456fe2b6579f44111c16e15960fb3e669a05 Mon Sep 17 00:00:00 2001 From: Xon <635541+Xon@users.noreply.github.com> Date: Sat, 17 Aug 2024 00:49:21 +0800 Subject: [PATCH] Move vitest.config.ts to default location for better tooling compatibility --- package.json | 2 +- test/vitest.config.ts => vitest.config.ts | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename test/vitest.config.ts => vitest.config.ts (100%) diff --git a/package.json b/package.json index c3d8b5fc..fb09338b 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "playwright:cli": "playwright test", "playwright:gui": "playwright test --ui", "test": "run-s test:unit test:e2e:all", - "test:unit": "vitest --config test/vitest.config.ts run", + "test:unit": "vitest run", "test:unit:watch": "npm run test:unit -- --watch --inspect=5556", "test:unit:coverage": "vitest --config test/vitest.config.ts run --coverage", "test:e2e": "run-s playwright:cli --project=chromium", diff --git a/test/vitest.config.ts b/vitest.config.ts similarity index 100% rename from test/vitest.config.ts rename to vitest.config.ts