fix: Explicitly bind web server to 127.0.0.1 in tests and prevent the development build process from running in the test environment.
Some checks failed
Deploy to Production / test (push) Successful in 50s
Deploy to Production / build (push) Failing after 4m4s
Deploy to Production / deploy (push) Has been skipped

This commit is contained in:
syntaxbullet
2026-01-31 14:30:44 +01:00
parent e252d6e00a
commit c2d67d7435
2 changed files with 4 additions and 3 deletions

View File

@@ -37,7 +37,7 @@ export async function createWebServer(config: WebServerConfig = {}): Promise<Web
// Manage build process in development
let buildProcess: Subprocess | undefined;
const isDev = process.env.NODE_ENV !== "production";
const isDev = process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test";
if (isDev) {
logger.info("web", "Starting Web Bundler in Watch Mode...");