Unverified Commit c4d41255 authored by nasso's avatar nasso Committed by GitHub

Convert the Cypress config to ESM Module syntax (#39036)

This seems to be what is recommended by the Cypress documentation:
https://docs.cypress.io/guides/references/configuration



## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [x] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
parent 541d8c66
const { defineConfig } = require('cypress')
import { defineConfig } from 'cypress'
module.exports = defineConfig({
export default defineConfig({
e2e: {
baseUrl: 'http://localhost:3000',
},
})
// Prevent TypeScript from reading file as legacy script
export {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment