We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9196c64 commit 8b3e7f9Copy full SHA for 8b3e7f9
test/specs/mounting-options/watch.spec.js
@@ -3,19 +3,14 @@ import { describeWithShallowAndMount } from '~resources/utils'
3
describeWithShallowAndMount('options.watch', mountingMethod => {
4
it('overrides a default watch handler', async () => {
5
const TestComponent = {
6
- props: ['someProp', 'anotherProp'],
+ props: ['someProp'],
7
template: '<div>{{ foo }}</div>',
8
data() {
9
return {
10
foo: 'bar'
11
}
12
},
13
watch: {
14
- anotherProp: {
15
- handler() {
16
- // placeholder
17
- }
18
- },
19
someProp: {
20
handler() {
21
this.foo = 'updated-bar'
0 commit comments