packages/cypress/src/migrations/update-20-8-0/remove-experimental-fetch-polyfill.md
experimentalFetchPolyfill Configuration OptionRemoves the experimentalFetchPolyfill configuration option that was removed in Cypress v14. Read more at the migration notes.
import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset';
import { defineConfig } from 'cypress';
export default defineConfig({
e2e: {
...nxE2EPreset(__filename, {
cypressDir: 'src',
bundler: 'vite',
webServerCommands: {
default: 'pnpm exec nx run app1:dev',
production: 'pnpm exec nx run app1:dev',
},
ciWebServerCommand: 'pnpm exec nx run app1:dev',
ciBaseUrl: 'http://localhost:4200',
}),
baseUrl: 'http://localhost:4200',
experimentalFetchPolyfill: true,
},
});
import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset';
import { defineConfig } from 'cypress';
export default defineConfig({
e2e: {
...nxE2EPreset(__filename, {
cypressDir: 'src',
bundler: 'vite',
webServerCommands: {
default: 'pnpm exec nx run app1:dev',
production: 'pnpm exec nx run app1:dev',
},
ciWebServerCommand: 'pnpm exec nx run app1:dev',
ciBaseUrl: 'http://localhost:4200',
}),
baseUrl: 'http://localhost:4200',
},
});