Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3cfd843

Browse files
committed
fix style !important spec
1 parent e898302 commit 3cfd843

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎test/unit/features/directives/style.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ describe('Directive v-bind:style', () => {
8383
}).then(done)
8484
})
8585

86-
it('!important', () => {
86+
it('!important', done => {
8787
vm.styles = { display: 'block !important' }
8888
waitForUpdate(() => {
8989
expect(vm.$el.style.getPropertyPriority('display')).toBe('important')
90-
})
90+
}).then(done)
9191
})
9292

9393
it('object with multiple entries', done => {

0 commit comments

Comments
 (0)