Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interface BeforeRunDetails.config has type ConfigOptions but is actually type PluginConfigOptions #30420

Open
bvandercar-vt opened this issue Oct 17, 2024 · 0 comments
Labels
type: typings Issue related to Cypress types (for TypeScript)

Comments

@bvandercar-vt
Copy link

Current behavior

Printing the details object of on('before:run', (details) => , it can be seen that many more items are present than are in its specified type, ConfigOptions. After looking over the types, it looks like PluginConfigOptions would be more correct for this.

Desired behavior

No response

Test code to reproduce

TypeScript bug, code not needed

Cypress Version

13.5.0

Node version

18

Operating System

Windows 11

Debug Logs

No response

Other

No response

@jennifer-shehane jennifer-shehane added the type: typings Issue related to Cypress types (for TypeScript) label Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: typings Issue related to Cypress types (for TypeScript)
Projects
None yet
Development

No branches or pull requests

2 participants