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) {
146146 // bug when using directly cloned template content with touch
147147 // events and can cause crashes when the nodes are removed from DOM, so we
148148 // have to treat template elements as string templates. (#2805)
149+ /* istanbul ignore if */
149150 if ( isRealTemplate ( node ) ) {
150151 return stringToFragment ( node . innerHTML )
151152 }
Original file line number Diff line number Diff line change @@ -996,7 +996,7 @@ describe('v-for', function () {
996996 el : document . createElement ( 'div' ) ,
997997 template : '<div v-for="item in items">{{item.name}}</div>' ,
998998 data : {
999- items : [ Object . freeze ( { name :'hi' } ) ]
999+ items : [ Object . freeze ( { name : 'hi' } ) ]
10001000 }
10011001 } )
10021002 expect ( 'Frozen v-for objects cannot be automatically tracked' ) . toHaveBeenWarned ( )
You can’t perform that action at this time.
0 commit comments