chore: type [ci skip]

This commit is contained in:
那里好脏不可以
2022-05-10 10:51:51 +08:00
committed by GitHub
parent 181872f744
commit 6042ab0f2f
22 changed files with 32 additions and 32 deletions

View File

@@ -1015,7 +1015,7 @@ describe('vModel', () => {
bar.selected = false
data.value = new Set([{ foo: 1 }, { bar: 1 }])
await nextTick()
// whithout looseEqual, here is different from Array
// without looseEqual, here is different from Array
expect(foo.selected).toEqual(false)
expect(bar.selected).toEqual(false)
})

View File

@@ -205,7 +205,7 @@ describe('runtime-dom: props patching', () => {
test('form attribute', () => {
const el = document.createElement('input')
patchProp(el, 'form', null, 'foo')
// non existant element
// non existent element
expect(el.form).toBe(null)
expect(el.getAttribute('form')).toBe('foo')
// remove attribute