From 6647e34ce7115426ac5b9e599c00674ee87f48fa Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 10 Jul 2020 10:19:16 -0400 Subject: [PATCH] refactor: adjust useCSSVars scoped usage --- .../__tests__/helpers/useCssVars.spec.ts | 5 +++-- .../runtime-dom/src/helpers/useCssVars.ts | 22 ++++++++++++++----- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/packages/runtime-dom/__tests__/helpers/useCssVars.spec.ts b/packages/runtime-dom/__tests__/helpers/useCssVars.spec.ts index b3407b34..6c417686 100644 --- a/packages/runtime-dom/__tests__/helpers/useCssVars.spec.ts +++ b/packages/runtime-dom/__tests__/helpers/useCssVars.spec.ts @@ -64,13 +64,14 @@ describe('useCssVars', () => { })) }) - test('with scopeId', async () => { + test('with