فهرست منبع

increase async component test delay

Evan You 9 سال پیش
والد
کامیت
1096890827
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      test/unit/features/component/component-async.spec.js

+ 2 - 2
test/unit/features/component/component-async.spec.js

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