Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2f162e6

Browse filesBrowse files
shortdiveddyerburgh
authored andcommitted
fix: Update links to docs (vuejs#670)
Closes vuejs#3
1 parent 1f4339f commit 2f162e6
Copy full SHA for 2f162e6

File tree

Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed

‎packages/test-utils/src/warn-if-no-window.js

Copy file name to clipboardExpand all lines: packages/test-utils/src/warn-if-no-window.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default function warnIfNoWindow () {
55
throwError(
66
'window is undefined, vue-test-utils needs to be run in a browser environment.\n' +
77
'You can run the tests in node using jsdom + jsdom-global.\n' +
8-
'See https://vue-test-utils.vuejs.org/en/guides/common-tips.html for more details.'
8+
'See https://vue-test-utils.vuejs.org/guides/common-tips.html for more details.'
99
)
1010
}
1111
}

‎packages/test-utils/src/wrapper.js

Copy file name to clipboardExpand all lines: packages/test-utils/src/wrapper.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ export default class Wrapper implements BaseWrapper {
582582
}
583583

584584
if (options.target) {
585-
throwError('you cannot set the target value of an event. See the notes section of the docs for more details—https://vue-test-utils.vuejs.org/en/api/wrapper/trigger.html')
585+
throwError('you cannot set the target value of an event. See the notes section of the docs for more details—https://vue-test-utils.vuejs.org/api/wrapper/trigger.html')
586586
}
587587

588588
// Don't fire event on a disabled element

‎test/specs/wrapper/trigger.spec.js

Copy file name to clipboardExpand all lines: test/specs/wrapper/trigger.spec.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ describeWithShallowAndMount('trigger', (mountingMethod) => {
147147
const fn = () => div.trigger('click', {
148148
target: {}
149149
})
150-
const message = '[vue-test-utils]: you cannot set the target value of an event. See the notes section of the docs for more details—https://vue-test-utils.vuejs.org/en/api/wrapper/trigger.html'
150+
const message = '[vue-test-utils]: you cannot set the target value of an event. See the notes section of the docs for more details—https://vue-test-utils.vuejs.org/api/wrapper/trigger.html'
151151
expect(fn).to.throw().with.property('message', message)
152152
})
153153

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.