From 1e5f009d83e694715ab89b1b6a36772aa239628e Mon Sep 17 00:00:00 2001 From: mahula Date: Thu, 26 Jun 2025 22:08:42 +0200 Subject: [PATCH] e2e: adapt cypress browserify configuration to ignore http due to expressjs dependencies --- cypress/cypress.config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cypress/cypress.config.js b/cypress/cypress.config.js index eb044115e..0d11469fc 100644 --- a/cypress/cypress.config.js +++ b/cypress/cypress.config.js @@ -19,8 +19,9 @@ async function setupNodeEvents(on, config) { browserify({ ...preprendTransformerToOptions(config, browserify.defaultOptions), onBundle(bundle) { - // Ignore async_hooks used by tslog logger - Node.js built-in not available in browser - bundle.ignore('async_hooks') + // Ignore Node.js built-ins not available in browser + bundle.ignore('async_hooks') // Used by tslog logger + bundle.ignore('http') // Node.js built-in } }), );