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 1e15840 commit da7ac62Copy full SHA for da7ac62
test/unit/specs/directives/model_spec.js
@@ -158,15 +158,13 @@ if (_.inBrowser) {
158
el.firstChild.click()
159
expect(vm.test).toBe('aFalseValue')
160
expect(el.firstChild.checked).toBe(false)
161
- vm.test = 'aTrueValue'
162
_.nextTick(function () {
163
- // the updated value of 'test' is not being passed
164
- // into the 'update' method of v-model in this environment
165
- // works fine in manual test
166
- // expect(el.firstChild.checked).toBe(true)
167
- done()
+ vm.test = 'aTrueValue'
+ _.nextTick(function () {
+ expect(el.firstChild.checked).toBe(true)
+ done()
+ })
168
})
169
-
170
171
172
it('select', function (done) {
0 commit comments