fix: deshabilitar retorno temprano en tests para reconstruir web

Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
webui
borja 2 weeks ago
parent 01e1d31f00
commit 94ad9119f4

@ -3,7 +3,8 @@ import { join, dirname } from 'path';
export async function ensureWebBuilt(): Promise<void> {
const buildEntry = join('apps', 'web', 'build', 'index.js');
if (existsSync(buildEntry)) return;
const isTest = String(process.env.NODE_ENV || '').toLowerCase() === 'test';
if (existsSync(buildEntry) && !isTest) return;
const lockFile = join('apps', 'web', '.build.lock');

Loading…
Cancel
Save