**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.
This commit is contained in:
parent
a8ab0c0ca9
commit
a6eeba23da
2 changed files with 3 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -47,6 +47,8 @@ Thumbs.db
|
||||||
/test-worker.js
|
/test-worker.js
|
||||||
/test-node24-worker.js
|
/test-node24-worker.js
|
||||||
/test-results.json
|
/test-results.json
|
||||||
|
/tests/results/
|
||||||
|
/tests/results/*.json
|
||||||
|
|
||||||
# Generated files
|
# Generated files
|
||||||
/encoded-image.html
|
/encoded-image.html
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ export default defineConfig({
|
||||||
[
|
[
|
||||||
'json',
|
'json',
|
||||||
{
|
{
|
||||||
outputFile: './test-results.json'
|
outputFile: './tests/results/test-results.json'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue