upload file size limit increased in server.ts
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 32s
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 32s
This commit is contained in:
@@ -5,12 +5,16 @@ import viteConfig from './vite.config';
|
||||
// 1. Separate the 'test' config (which has Unit Test exclusions)
|
||||
// from the rest of the general Vite config (plugins, aliases, etc.)
|
||||
// We cast to 'any' to avoid strict type checking on the import if necessary.
|
||||
// DEBUG: Use console.error to ensure logs appear in CI/CD output
|
||||
console.error('[DEBUG] Loading vitest.config.integration.ts...');
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const { test: _unusedTest, ...baseViteConfig } = viteConfig as any;
|
||||
|
||||
console.log('\n[DEBUG] --- INTEGRATION CONFIG SETUP ---');
|
||||
console.log('[DEBUG] baseViteConfig keys:', Object.keys(baseViteConfig));
|
||||
console.log('[DEBUG] Does baseViteConfig have "test"?', !!(baseViteConfig as any).test);
|
||||
console.error('\n[DEBUG] --- INTEGRATION CONFIG SETUP ---');
|
||||
// Use _unusedTest to satisfy linter
|
||||
console.error(`[DEBUG] Stripped "test" config. Original test config existed: ${!!_unusedTest}`);
|
||||
console.error('[DEBUG] Does baseViteConfig have "test"?', !!(baseViteConfig as any).test);
|
||||
|
||||
/**
|
||||
* This configuration is specifically for integration tests.
|
||||
@@ -45,8 +49,8 @@ const finalConfig = mergeConfig(baseViteConfig, defineConfig({
|
||||
}
|
||||
}));
|
||||
|
||||
console.log('[DEBUG] Integration Final Config - INCLUDE:', finalConfig.test?.include);
|
||||
console.log('[DEBUG] Integration Final Config - EXCLUDE:', finalConfig.test?.exclude);
|
||||
console.log('[DEBUG] ----------------------------------\n');
|
||||
console.error('[DEBUG] Integration Final Config - INCLUDE:', finalConfig.test?.include);
|
||||
console.error('[DEBUG] Integration Final Config - EXCLUDE:', finalConfig.test?.exclude);
|
||||
console.error('[DEBUG] ----------------------------------\n');
|
||||
|
||||
export default finalConfig;
|
||||
Reference in New Issue
Block a user