app/apps/frontend-e2e/cypress.config.ts
2024-08-21 11:26:35 +02:00

15 lines
381 B
TypeScript

import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset';
import { defineConfig } from 'cypress';
export default defineConfig({
e2e: {
...nxE2EPreset(__filename, {
cypressDir: 'src',
webServerCommands: { default: 'nx run frontend:start' },
ciWebServerCommand: 'nx run frontend:serve-static',
}),
baseUrl: 'http://localhost:3000',
},
});