test: test for attrs fallthrough

This commit is contained in:
Evan You
2018-09-24 21:13:06 -04:00
parent a1b9144009
commit a848466f07
5 changed files with 150 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ export function patchEvent(
prevValue: EventValue | null,
nextValue: EventValue | null
) {
if (delegateRE.test(name)) {
if (delegateRE.test(name) && !__JSDOM__) {
handleDelegatedEvent(el, name, nextValue)
} else {
handleNormalEvent(el, name, prevValue, nextValue)