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) {
10
10
11
11
node = node . childNodes [ 0 ] ;
12
12
delete node . parentNode ;
13
- delete node . __location . startTag ;
13
+ delete node . __location ;
14
14
15
15
t . deepEqual (
16
16
inspect ( toParse5 ( {
@@ -23,11 +23,13 @@ test('position', function (t) {
23
23
start : { line : 1 , column : 5 , offset : 4 } ,
24
24
end : { line : 1 , column : 10 , offset : 9 }
25
25
}
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
+ // }
31
33
} ) , { depth : null } ) ,
32
34
inspect ( node , { depth : null } ) ,
33
35
'should transform positions'
You can’t perform that action at this time.
0 commit comments