mirror of
https://github.com/acedanger/finance.git
synced 2025-12-05 22:50:12 -08:00
Add VSCode task for automatic build on project open and update dependencies
Remove .vscode from .gitignore to allow for project-specific settings. Introduce a VSCode task to run `npm run dev` automatically when the project is opened. Update environment configuration files and dependencies to enhance support for the Node adapter. Fixes #13
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
/// <reference types="vitest" />
|
||||
import { defineConfig } from "vitest/config";
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
// Increase timeout for slower CI environments
|
||||
testTimeout: 10000,
|
||||
// Use the setup file we created
|
||||
setupFiles: ["./src/test/setup.ts"],
|
||||
setupFiles: ['./src/test/setup.ts'],
|
||||
// Ensure we're using the right environment
|
||||
environment: "node",
|
||||
environment: 'node',
|
||||
// Only include test files
|
||||
include: ["src/test/**/*.{test,spec}.{ts,js}"],
|
||||
include: ['src/test/**/*.{test,spec}.{ts,js}'],
|
||||
// Configure coverage collection
|
||||
coverage: {
|
||||
provider: "v8",
|
||||
reporter: ["text", "json", "html"],
|
||||
exclude: ["node_modules/", "src/test/**/*", "**/*.d.ts"],
|
||||
provider: 'v8',
|
||||
reporter: ['text', 'json', 'html'],
|
||||
exclude: ['node_modules/', 'src/test/**/*', '**/*.d.ts'],
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user