chore: fix typos (#1090)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { render, h } from '@vue/runtime-dom'
|
||||
|
||||
describe('customimized built-in elements support', () => {
|
||||
describe('customized built-in elements support', () => {
|
||||
let createElement: jest.SpyInstance
|
||||
afterEach(() => {
|
||||
createElement.mockRestore()
|
||||
|
||||
@@ -114,7 +114,7 @@ describe('vModel', () => {
|
||||
await nextTick()
|
||||
expect(spy1).toHaveBeenCalledWith('foo')
|
||||
|
||||
// udpate listener
|
||||
// update listener
|
||||
toggle.value = false
|
||||
await nextTick()
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ export function patchAttr(
|
||||
}
|
||||
} else {
|
||||
// note we are only checking boolean attributes that don't have a
|
||||
// correspoding dom prop of the same name here.
|
||||
// corresponding dom prop of the same name here.
|
||||
const isBoolean = isSpecialBooleanAttr(key)
|
||||
if (value == null || (isBoolean && value === false)) {
|
||||
el.removeAttribute(key)
|
||||
|
||||
Reference in New Issue
Block a user