Explorar el Código

chore: ignore code that cannot be reached in PhantomJS

Evan You hace 8 años
padre
commit
1c86b9ebeb
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/core/instance/inject.js

+ 1 - 0
src/core/instance/inject.js

@@ -42,6 +42,7 @@ export function resolveInject (inject: any, vm: Component): ?Object {
     const result = Object.create(null)
     const keys = hasSymbol
         ? Reflect.ownKeys(inject).filter(key => {
+          /* istanbul ignore next */
           return Object.getOwnPropertyDescriptor(inject, key).enumerable
         })
         : Object.keys(inject)