test: improve coverage

This commit is contained in:
Evan You
2020-07-15 10:38:45 -04:00
parent 056a13142f
commit 32a4cb804b
7 changed files with 89 additions and 4 deletions

View File

@@ -690,6 +690,7 @@ const classifyRE = /(?:^|[-_])(\w)/g
const classify = (str: string): string =>
str.replace(classifyRE, c => c.toUpperCase()).replace(/[-_]/g, '')
/* istanbul ignore next */
export function formatComponentName(
instance: ComponentInternalInstance | null,
Component: Component,