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 3fd91b2 commit f561e0cCopy full SHA for f561e0c
test/index.js
@@ -160,10 +160,14 @@ test("Handle errors in computed properties", t => {
160
})
161
t.equal(vm.a, null)
162
t.equal(testErrorLog.length, 0)
163
- Vue.nextTick(() => {
164
- t.equal(vm.a, null)
165
- t.equal(testErrorLog.length, 1)
166
- })
+ Vue.nextTick(() =>
+ // In Vue 2.0 it takes an additional tick before
+ // we see the error
+ Vue.nextTick(() => {
167
+ t.equal(vm.a, null)
168
+ t.equal(testErrorLog.length, 1)
169
+ })
170
+ )
171
172
173
test("Handle multiple asyncComputed objects the same way normal as \
0 commit comments