ソースを参照

remove v-bind:style important test case due to phantomjs inconsistency

Evan You 10 年 前
コミット
df73cbf0a8
1 ファイル変更0 行追加7 行削除
  1. 0 7
      test/unit/features/directives/style.spec.js

+ 0 - 7
test/unit/features/directives/style.spec.js

@@ -38,13 +38,6 @@ describe('Directive v-bind:style', () => {
     }).then(done)
     }).then(done)
   })
   })
 
 
-  it('should not work with inline !important', done => {
-    vm.styles = { color: 'red !important' }
-    waitForUpdate(() => {
-      expect(vm.$el.style.getPropertyPriority('color')).toBe('')
-    }).then(done)
-  })
-
   it('camelCase', done => {
   it('camelCase', done => {
     vm.styles = { marginRight: '10px' }
     vm.styles = { marginRight: '10px' }
     waitForUpdate(() => {
     waitForUpdate(() => {