Files
2026-07-14 12:00:18 +09:00

21 lines
504 B
TypeScript

import { defineConfig } from 'cypress'
import { startBasePathServer, stopBasePathServer } from './cypress/basePathServer'
export default defineConfig({
e2e: {
baseUrl: 'http://localhost:3041',
chromeWebSecurity: false,
specPattern: 'cypress/e2e/**/*.spec.*',
supportFile: false,
setupNodeEvents(on) {
on('after:run', async () => {
await stopBasePathServer()
})
on('task', {
startBasePathServer,
stopBasePathServer,
})
},
},
})