-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
E2EIssue related to end-to-end testingIssue related to end-to-end testingTriagedIssue has been routed to backlog. This is not a commitment to have it prioritized by the team.Issue has been routed to backlog. This is not a commitment to have it prioritized by the team.package manager: yarnIssues relating to yarnIssues relating to yarn
Description
Ref: #22747 -> #22747 (comment)
Repro: yarn3typemodule.zip
Workaround: change cypress.config.js to be named cypress.config.mjs. This should fix the issue. This means anything imported in cypress.config.mjs will need the mjs extension, and you will also need the full extension in the import. Eg:
import { defineConfig } from "cypress";
import { foo } from './foo.mjs' // mjs extension
export default defineConfig({
e2e: {
setupNodeEvents(on, config) {
blah() // can call it here
return config
},
},
})Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
E2EIssue related to end-to-end testingIssue related to end-to-end testingTriagedIssue has been routed to backlog. This is not a commitment to have it prioritized by the team.Issue has been routed to backlog. This is not a commitment to have it prioritized by the team.package manager: yarnIssues relating to yarnIssues relating to yarn