Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com> Co-authored-by: Thorsten Lünborg <t.luenborg@googlemail.com>
This commit is contained in:
@@ -145,5 +145,8 @@ describe('runtime-dom: props patching', () => {
|
||||
// non existant element
|
||||
expect(el.form).toBe(null)
|
||||
expect(el.getAttribute('form')).toBe('foo')
|
||||
// remove attribute
|
||||
patchProp(el, 'form', 'foo', null)
|
||||
expect(el.getAttribute('form')).toBe(null)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user