Skip to content

Commit 3b7cfc7

Browse files
committed
coverage
1 parent f4630d0 commit 3b7cfc7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/core/instance/init.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ export function initMixin (Vue: Class<Component>) {
1818
// a uid
1919
vm._uid = uid++
2020

21-
/* istanbul ignore if */
2221
let startTag, endTag
22+
/* istanbul ignore if */
2323
if (process.env.NODE_ENV !== 'production' && config.performance && mark) {
2424
startTag = `vue-perf-init:${vm._uid}`
2525
endTag = `vue-perf-end:${vm._uid}`

src/core/instance/inject.js

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export function initInjections (vm: Component) {
3131
let source = vm
3232
while (source) {
3333
if (source._provided && provideKey in source._provided) {
34+
/* istanbul ignore else */
3435
if (process.env.NODE_ENV !== 'production') {
3536
defineReactive(vm, key, source._provided[provideKey], () => {
3637
warn(

0 commit comments

Comments
 (0)