-
Notifications
You must be signed in to change notification settings - Fork 278
Closed
Description
Is your feature request related to a problem? Please describe.
Hi, Team. I'm the creator of devtools-next. I want to use vuejs/test-utils to test the devtools hook. But I see that there seems to be a polyfill of devtools in the test-utils code. I wonder if it seems like we can add an option to support it? This makes sense for users who want to test the devtools hook functionality. I can submit a PR if it is feasible, thank you.
Describe the solution you'd like
export interface MountingOptions<Props, Data = {}>
extends BaseMountingOptions<Props, Data> {
/**
* Specify where to mount the component.
* Can be a valid CSS selector, or an Element connected to the document.
* @see https://test-utils.vuejs.org/api/#attachto
*/
attachTo?: HTMLElement | string
/**
* @default: true
*/
enableDevtoolsPolyfill?: boolean
}Describe alternatives you've considered
Additional context
Metadata
Metadata
Assignees
Labels
No labels