mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-04 21:49:50 -06:00
* feat: adding module support for invoking cypress.config.mjs, .cjs, .ts Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
16 lines
297 B
JavaScript
16 lines
297 B
JavaScript
import module from 'module'
|
|
|
|
const require = module.createRequire(import.meta.url)
|
|
|
|
const cypress = require('./lib/cypress')
|
|
|
|
export default cypress
|
|
|
|
export const defineConfig = cypress.defineConfig
|
|
|
|
export const run = cypress.run
|
|
|
|
export const open = cypress.open
|
|
|
|
export const cli = cypress.cli
|