Skip to content

Commit 34e403f

Browse files
yyx990803hefeng
authored and
hefeng
committed
chore: ignore code that cannot be reached in PhantomJS
1 parent b7a905b commit 34e403f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/instance/inject.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export function resolveInject (inject: any, vm: Component): ?Object {
4242
const result = Object.create(null)
4343
const keys = hasSymbol
4444
? Reflect.ownKeys(inject).filter(key => {
45+
/* istanbul ignore next */
4546
return Object.getOwnPropertyDescriptor(inject, key).enumerable
4647
})
4748
: Object.keys(inject)

0 commit comments

Comments
 (0)