15 lines
381 B
TypeScript
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',
|
|
},
|
|
});
|