test: improve coverage

This commit is contained in:
Evan You
2019-09-24 16:35:01 -04:00
parent e67084e5a1
commit cae03f616d
8 changed files with 318 additions and 52 deletions

View File

@@ -199,6 +199,7 @@ function pushNode(
node: ChildNode
): void {
// ignore comments in production
/* istanbul ignore next */
if (!__DEV__ && node.type === NodeTypes.COMMENT) {
return
}