From 2f0a1142652b609ee50e367233ebbbffea73abcf Mon Sep 17 00:00:00 2001 From: Torben Sorensen Date: Sun, 23 Nov 2025 00:36:55 -0800 Subject: [PATCH] upload file size limit increased in server.ts --- package.json | 2 +- vite.config.ts | 5 +++-- vitest.workspace.ts | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b71c00d5..ff326b3f 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "build": "vite build", "preview": "vite preview", "clean": "rimraf coverage .coverage", - "test:coverage": "npm run clean && vitest run --workspace=vitest.workspace.ts --coverage", + "test:coverage": "npm run clean && vitest run --coverage", "test": "vitest run --coverage", "test:integration": "vitest run --coverage -c vitest.config.integration.ts", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", diff --git a/vite.config.ts b/vite.config.ts index 670a4fa7..0ad9d6f5 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -25,8 +25,9 @@ export default defineConfig({ // Vitest-specific configuration for the 'unit' test project. test: { - // DEBUGGING LOG - onConsoleLog(log) { if (log.includes('[DEBUG]')) return false; }, + // DEBUGGING LOG: return 'true' to allow the log, 'false' to suppress it. + // We want to SEE debug logs. + onConsoleLog(log) { if (log.includes('[DEBUG]')) return true; }, // The name for this project is defined by the filename in the workspace config. name: 'unit', environment: 'jsdom', diff --git a/vitest.workspace.ts b/vitest.workspace.ts index 4a1176ef..028a3fba 100644 --- a/vitest.workspace.ts +++ b/vitest.workspace.ts @@ -8,7 +8,7 @@ */ export default [ // DEBUGGING LOG - ((): string => { console.log('\n[DEBUG] Loading vitest.workspace.ts'); return ''; })(), + ((): string => { console.error('\n[DEBUG] Loading vitest.workspace.ts'); return ''; })(), 'vite.config.ts', // Defines the 'unit' test project 'vitest.config.integration.ts', // Defines the 'integration' test project ]; \ No newline at end of file