upload file size limit increased in server.ts
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m9s

This commit is contained in:
2025-11-22 23:45:38 -08:00
parent 1e54b0754b
commit f81395ca01
2 changed files with 6 additions and 1 deletions

View File

@@ -43,7 +43,8 @@ export async function setup() {
if (!response.ok) return false;
const text = await response.text();
return text === 'pong';
} catch (error) {
} catch (e) {
logger.debug('Ping failed while waiting for server, this is expected.', { error: e });
return false;
}
};

View File

@@ -15,6 +15,10 @@ export default mergeConfig(viteConfig, defineConfig({
// The path must be specific. By default, Vitest doesn't look in `src`
// unless the pattern explicitly includes it.
include: ['src/**/*.integration.test.ts'],
// CRITICAL: We must override the `exclude` property from the base vite.config.ts.
// Otherwise, the inherited `exclude` rule will prevent any integration tests from running.
// Setting it to an empty array removes all exclusion rules for this project.
exclude: [],
// This setup script starts the backend server before tests run.
globalSetup: './src/tests/setup/integration-global-setup.ts',
testTimeout: 15000, // Increased timeout for server startup and API calls.