From a726594e48d3ee900e0c40072e8fda4a4651604c Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 30 Nov 2025 06:33:14 +0900 Subject: feat(server): setup Vitest testing framework MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add Vitest as the test runner for the server package with configuration for global test APIs. Update root package.json to run tests across all packages. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index a57879f..55487af 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "An Anki clone", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", + "test": "pnpm -r run test", "typecheck": "tsc --build pkgs/*/tsconfig.json", "lint": "biome check .", "lint:fix": "biome check --write .", -- cgit v1.2.3-70-g09d2