Просмотр исходного кода

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

Evan You 10 лет назад
Родитель
Сommit
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)
   })
 
-  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 => {
     vm.styles = { marginRight: '10px' }
     waitForUpdate(() => {