Selaa lähdekoodia

test: change model text's priority case (#9170)

krystal 7 vuotta sitten
vanhempi
commit
984393fed9
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      test/unit/features/directives/model-text.spec.js

+ 1 - 1
test/unit/features/directives/model-text.spec.js

@@ -238,7 +238,7 @@ describe('Directive v-model text', () => {
       template: '<input v-model="a" @input="onInput">',
       methods: {
         onInput (e) {
-          spy(e.target.value)
+          spy(this.a)
         }
       }
     }).$mount()