From a6eeba23da0ffb1ca2b3a92549a6046e3d3359fb Mon Sep 17 00:00:00 2001 From: David Snelling Date: Wed, 30 Jul 2025 10:42:18 -0700 Subject: [PATCH] **build: update test results configuration and gitignore** - Updated test results output path in `vitest.config.ts` to `./tests/results/test-results.json` for better organization. - Modified `.gitignore` to include `/tests/results/` and its `.json` files to avoid committing test artifacts. **Purpose**: Improves test results file structure and ensures consistent exclusion of test artifact files from version control. --- .gitignore | 2 ++ vitest.config.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 1cb5ec99..a1abe337 100644 --- a/.gitignore +++ b/.gitignore @@ -47,6 +47,8 @@ Thumbs.db /test-worker.js /test-node24-worker.js /test-results.json +/tests/results/ +/tests/results/*.json # Generated files /encoded-image.html diff --git a/vitest.config.ts b/vitest.config.ts index 1f80a1eb..aa08362a 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -44,7 +44,7 @@ export default defineConfig({ [ 'json', { - outputFile: './test-results.json' + outputFile: './tests/results/test-results.json' } ] ],