From 189a0a3b1944dcb52b846a6053d8aeceb29b23a4 Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 21 Feb 2020 11:27:08 +0100 Subject: [PATCH] chore: use undefined for TS 3.8 compat --- packages/runtime-dom/__tests__/modules/style.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-dom/__tests__/modules/style.spec.ts b/packages/runtime-dom/__tests__/modules/style.spec.ts index 28eac3b426..0866727508 100644 --- a/packages/runtime-dom/__tests__/modules/style.spec.ts +++ b/packages/runtime-dom/__tests__/modules/style.spec.ts @@ -21,7 +21,7 @@ describe(`module style`, () => { it('remove if falsy value', () => { const el = document.createElement('div') - patchStyle(el, { color: 'red' }, { color: null }) + patchStyle(el, { color: 'red' }, { color: undefined }) expect(el.style.cssText.replace(/\s/g, '')).toBe('') }) -- 2.47.3