Skip to content

Commit 8b3e7f9

Browse files
committed
fix: refactor spec
1 parent 9196c64 commit 8b3e7f9

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

test/specs/mounting-options/watch.spec.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,14 @@ import { describeWithShallowAndMount } from '~resources/utils'
33
describeWithShallowAndMount('options.watch', mountingMethod => {
44
it('overrides a default watch handler', async () => {
55
const TestComponent = {
6-
props: ['someProp', 'anotherProp'],
6+
props: ['someProp'],
77
template: '<div>{{ foo }}</div>',
88
data() {
99
return {
1010
foo: 'bar'
1111
}
1212
},
1313
watch: {
14-
anotherProp: {
15-
handler() {
16-
// placeholder
17-
}
18-
},
1914
someProp: {
2015
handler() {
2116
this.foo = 'updated-bar'

0 commit comments

Comments
 (0)