Explorar o código

increase async delay for more test cases

Evan You %!s(int64=9) %!d(string=hai) anos
pai
achega
cb0531c4fb
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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>` },