Skip to content

Commit 2f162e6

Browse files
shortdiveddyerburgh
authored andcommitted
fix: Update links to docs (#670)
Closes #3
1 parent 1f4339f commit 2f162e6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: packages/test-utils/src/warn-if-no-window.js

+1-1
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
}

Diff for: packages/test-utils/src/wrapper.js

+1-1
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

Diff for: test/specs/wrapper/trigger.spec.js

+1-1
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)