mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-02 21:10:47 -05:00
feat: allow usage of @react/plugins with cypress.config.js (#17738)
This commit is contained in:
committed by
GitHub
parent
36be9ebea5
commit
da4b1e06ce
Vendored
+2
-2
@@ -5263,7 +5263,7 @@ declare namespace Cypress {
|
||||
tag?: string
|
||||
}
|
||||
|
||||
interface DevServerOptions {
|
||||
interface DevServerConfig {
|
||||
specs: Spec[]
|
||||
config: ResolvedConfigOptions & RuntimeConfigOptions
|
||||
devServerEvents: NodeJS.EventEmitter
|
||||
@@ -5282,7 +5282,7 @@ declare namespace Cypress {
|
||||
(action: 'before:spec', fn: (spec: Spec) => void | Promise<void>): void
|
||||
(action: 'before:browser:launch', fn: (browser: Browser, browserLaunchOptions: BrowserLaunchOptions) => void | BrowserLaunchOptions | Promise<BrowserLaunchOptions>): void
|
||||
(action: 'file:preprocessor', fn: (file: FileObject) => string | Promise<string>): void
|
||||
(action: 'dev-server:start', fn: (file: DevServerOptions) => Promise<ResolvedDevServerConfig>): void
|
||||
(action: 'dev-server:start', fn: (file: DevServerConfig) => Promise<ResolvedDevServerConfig>): void
|
||||
(action: 'task', tasks: Tasks): void
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user