فهرست منبع

fix style !important spec

Evan You 9 سال پیش
والد
کامیت
3cfd84346f
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      test/unit/features/directives/style.spec.js

+ 2 - 2
test/unit/features/directives/style.spec.js

@@ -83,11 +83,11 @@ describe('Directive v-bind:style', () => {
     }).then(done)
   })
 
-  it('!important', () => {
+  it('!important', done => {
     vm.styles = { display: 'block !important' }
     waitForUpdate(() => {
       expect(vm.$el.style.getPropertyPriority('display')).toBe('important')
-    })
+    }).then(done)
   })
 
   it('object with multiple entries', done => {