19 lines
518 B
TypeScript
19 lines
518 B
TypeScript
import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset';
|
|
import { defineConfig } from 'cypress';
|
|
|
|
export default defineConfig({
|
|
e2e: {
|
|
...nxE2EPreset(__filename, {
|
|
cypressDir: 'src',
|
|
bundler: 'vite',
|
|
webServerCommands: {
|
|
default: 'npx nx run menntalind:dev',
|
|
production: 'npx nx run menntalind:preview',
|
|
},
|
|
ciWebServerCommand: 'npx nx run menntalind:preview',
|
|
ciBaseUrl: 'http://localhost:4300',
|
|
}),
|
|
baseUrl: 'http://localhost:4200',
|
|
},
|
|
});
|