File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
test/unit/specs/directives/public/for Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,7 @@ function nodeToFragment (node) {
146
146
// bug when using directly cloned template content with touch
147
147
// events and can cause crashes when the nodes are removed from DOM, so we
148
148
// have to treat template elements as string templates. (#2805)
149
+ /* istanbul ignore if */
149
150
if ( isRealTemplate ( node ) ) {
150
151
return stringToFragment ( node . innerHTML )
151
152
}
Original file line number Diff line number Diff line change @@ -996,7 +996,7 @@ describe('v-for', function () {
996
996
el : document . createElement ( 'div' ) ,
997
997
template : '<div v-for="item in items">{{item.name}}</div>' ,
998
998
data : {
999
- items : [ Object . freeze ( { name :'hi' } ) ]
999
+ items : [ Object . freeze ( { name : 'hi' } ) ]
1000
1000
}
1001
1001
} )
1002
1002
expect ( 'Frozen v-for objects cannot be automatically tracked' ) . toHaveBeenWarned ( )
You can’t perform that action at this time.
0 commit comments