Cypress hangs with cypress esbuild preprossor when running tests on CLI with cypress run
Cypress hangs with cypress esbuild preprossor when running tests on CLI, the same test is passing and bundled nicely with esbuild when running tests on the cypress GUI.
// cypress.config.js import { defineConfig } from 'cypress' import createBundler from '@bahmutov/cypress-esbuild-preprocessor'
export default defineConfig({ e2e: { setupNodeEvents(on, config) { on('file:preprocessor', createBundler()) }, }, })
DEBUG=cypress-** npx cypress run --spec cypress/tests/login.cy.js
@bahmutov/cypress-esbuild-preprocessor: 2.2.0, esbuild: 0.18.16
Can confirm, experiencing the same issue.
I have the same issue, I've opened a StackOverflow question here about it.