Skip to content

Commit d5bad65

Browse files
committed
fix: proper docs link in jsdoc
1 parent a877531 commit d5bad65

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/types.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ type RawProps = VNodeProps & {
4444
export interface MountingOptions<Props, Data = {}> {
4545
/**
4646
* Overrides component's default data. Must be a function.
47-
* @see https://next.vue-test-utils.vuejs.org/api/#data
47+
* @see https://test-utils.vuejs.org/api/#data
4848
*/
4949
data?: () => {} extends Data ? any : Data extends object ? Partial<Data> : any
5050
/**
5151
* Sets component props when mounted.
52-
* @see https://next.vue-test-utils.vuejs.org/api/#props
52+
* @see https://test-utils.vuejs.org/api/#props
5353
*/
5454
props?: (RawProps & Props) | ({} extends Props ? null : never)
5555
/**
@@ -58,12 +58,12 @@ export interface MountingOptions<Props, Data = {}> {
5858
propsData?: Props
5959
/**
6060
* Sets component attributes when mounted.
61-
* @see https://next.vue-test-utils.vuejs.org/api/#attrs
61+
* @see https://test-utils.vuejs.org/api/#attrs
6262
*/
6363
attrs?: Record<string, unknown>
6464
/**
6565
* Provide values for slots on a component.
66-
* @see https://next.vue-test-utils.vuejs.org/api/#slots
66+
* @see https://test-utils.vuejs.org/api/#slots
6767
*/
6868
slots?: SlotDictionary & {
6969
default?: Slot
@@ -75,13 +75,13 @@ export interface MountingOptions<Props, Data = {}> {
7575
/**
7676
* Specify where to mount the component.
7777
* Can be a valid CSS selector, or an Element connected to the document.
78-
* @see https://next.vue-test-utils.vuejs.org/api/#attachto
78+
* @see https://test-utils.vuejs.org/api/#attachto
7979
*/
8080
attachTo?: HTMLElement | string
8181
/**
8282
* Automatically stub out all the child components.
8383
* @default false
84-
* @see https://next.vue-test-utils.vuejs.org/api/#slots
84+
* @see https://test-utils.vuejs.org/api/#slots
8585
*/
8686
shallow?: boolean
8787
}
@@ -91,7 +91,7 @@ export type Stubs = Record<string, Stub> | Array<string>
9191
export type GlobalMountOptions = {
9292
/**
9393
* Installs plugins on the component.
94-
* @see https://next.vue-test-utils.vuejs.org/api/#global-plugins
94+
* @see https://test-utils.vuejs.org/api/#global-plugins
9595
*/
9696
plugins?: (Plugin | [Plugin, ...any[]])[]
9797
/**
@@ -101,42 +101,42 @@ export type GlobalMountOptions = {
101101
config?: Partial<Omit<AppConfig, 'isNativeTag'>> // isNativeTag is readonly, so we omit it
102102
/**
103103
* Applies a mixin for components under testing.
104-
* @see https://next.vue-test-utils.vuejs.org/api/#global-mixins
104+
* @see https://test-utils.vuejs.org/api/#global-mixins
105105
*/
106106
mixins?: ComponentOptions[]
107107
/**
108108
* Mocks a global instance property.
109109
* This is designed to mock variables injected by third party plugins, not
110110
* Vue's native properties such as $root, $children, etc.
111-
* @see https://next.vue-test-utils.vuejs.org/api/#global-mocks
111+
* @see https://test-utils.vuejs.org/api/#global-mocks
112112
*/
113113
mocks?: Record<string, any>
114114
/**
115115
* Provides data to be received in a setup function via `inject`.
116-
* @see https://next.vue-test-utils.vuejs.org/api/#global-provide
116+
* @see https://test-utils.vuejs.org/api/#global-provide
117117
*/
118118
provide?: Record<any, any>
119119
/**
120120
* Registers components globally for components under testing.
121-
* @see https://next.vue-test-utils.vuejs.org/api/#global-components
121+
* @see https://test-utils.vuejs.org/api/#global-components
122122
*/
123123
components?: Record<string, Component | object>
124124
/**
125125
* Registers a directive globally for components under testing
126-
* @see https://next.vue-test-utils.vuejs.org/api/#global-directives
126+
* @see https://test-utils.vuejs.org/api/#global-directives
127127
*/
128128
directives?: Record<string, Directive>
129129
/**
130130
* Stubs a component for components under testing.
131131
* @default "{ transition: true, 'transition-group': true }"
132-
* @see https://next.vue-test-utils.vuejs.org/api/#global-stubs
132+
* @see https://test-utils.vuejs.org/api/#global-stubs
133133
*/
134134
stubs?: Stubs
135135
/**
136136
* Allows rendering the default slot content, even when using
137137
* `shallow` or `shallowMount`.
138138
* @default false
139-
* @see https://next.vue-test-utils.vuejs.org/api/#global-renderstubdefaultslot
139+
* @see https://test-utils.vuejs.org/api/#global-renderstubdefaultslot
140140
*/
141141
renderStubDefaultSlot?: boolean
142142
}

0 commit comments

Comments
 (0)