We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03757ff commit e467d4dCopy full SHA for e467d4d
packages/runtime-dom/__tests__/patchStyle.spec.ts
@@ -87,7 +87,7 @@ describe(`runtime-dom: style patching`, () => {
87
expect(el.style.cssText).toBe('')
88
})
89
90
- it('should not overwritten the same value', () => {
+ it('should not update style if its not change', () => {
91
const el = document.createElement('div')
92
patchProp(el, 'style', {}, { left: '10px' })
93
expect(el.style.getPropertyValue('left')).toBe('10px')
0 commit comments