Browse Source

increase async delay for more test cases

Evan You 9 years ago
parent
commit
cb0531c4fb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/unit/features/component/component-async.spec.js

+ 2 - 2
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>` },