Cypress · Function
defineConfig
defineConfig wraps a Cypress configuration object and enables editor completion. Cypress configuration files can use JavaScript or TypeScript, with ESM and CommonJS forms supported.
Last updated
Syntax
defineConfig(config)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
baseUrle2ecomponentdefaultBrowserviewportWidthviewportHeight--config--config-file