wire cypress for frontend

This commit is contained in:
Yisroel Baum 2026-05-16 21:42:28 +03:00
parent 4cfe2bd4a5
commit 821ff72b00
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
4 changed files with 2651 additions and 3 deletions

View file

@ -0,0 +1,16 @@
import { defineConfig } from 'cypress'
import createBundler from '@bahmutov/cypress-esbuild-preprocessor'
export default defineConfig({
e2e: {
baseUrl: 'http://localhost:5173',
specPattern: 'cypress/e2e/**/*.cy.ts',
supportFile: 'cypress/support/e2e.ts',
fixturesFolder: false,
video: false,
screenshotOnRunFailure: false,
setupNodeEvents(onEvent) {
onEvent('file:preprocessor', createBundler())
},
},
})