File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ test('position', function (t) {
1010
1111 node = node . childNodes [ 0 ] ;
1212 delete node . parentNode ;
13- delete node . __location . startTag ;
13+ delete node . __location ;
1414
1515 t . deepEqual (
1616 inspect ( toParse5 ( {
@@ -23,11 +23,13 @@ test('position', function (t) {
2323 start : { line : 1 , column : 5 , offset : 4 } ,
2424 end : { line : 1 , column : 10 , offset : 9 }
2525 }
26- } ] ,
27- position : {
28- start : { line : 1 , column : 1 , offset : 0 } ,
29- end : { line : 1 , column : 10 , offset : 9 }
30- }
26+ } ]
27+ // Hidden for now, see https://github.com/inikulin/parse5/issues/224.
28+ // ,
29+ // position: {
30+ // start: {line: 1, column: 1, offset: 0},
31+ // end: {line: 1, column: 10, offset: 9}
32+ // }
3133 } ) , { depth : null } ) ,
3234 inspect ( node , { depth : null } ) ,
3335 'should transform positions'
You can’t perform that action at this time.
0 commit comments