Browse Source

increase async delay for more test cases

dev
Evan You 8 years ago
parent
commit
cb0531c4fb
  1. 4
      test/unit/features/component/component-async.spec.js

4
test/unit/features/component/component-async.spec.js

@ -238,7 +238,7 @@ describe('Component async', () => {
Promise.resolve().then(() => {
Vue.nextTick(next)
})
}, 0)
}, 50)
}),
loading: { template: `<div>loading</div>` },
error: { template: `<div>error</div>` },
@ -268,7 +268,7 @@ describe('Component async', () => {
Promise.resolve().then(() => {
Vue.nextTick(next)
})
}, 5)
}, 50)
}),
loading: { template: `<div>loading</div>` },
error: { template: `<div>error</div>` },

Loading…
Cancel
Save