Support comments on attributes (#5850)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
@ -79,6 +79,7 @@ const newVar = myVar + 1`
|
||||
tag: {
|
||||
end: 111,
|
||||
start: 104,
|
||||
commentStart: expect.any(Number),
|
||||
type: 'TagDeclarator',
|
||||
value: 'myPath',
|
||||
},
|
||||
@ -106,6 +107,7 @@ const newVar = myVar + 1`
|
||||
tag: {
|
||||
end: 192,
|
||||
start: 182,
|
||||
commentStart: expect.any(Number),
|
||||
type: 'TagDeclarator',
|
||||
value: 'rightPath',
|
||||
},
|
||||
@ -204,6 +206,7 @@ const newVar = myVar + 1`
|
||||
tag: {
|
||||
end: 140,
|
||||
start: 133,
|
||||
commentStart: expect.any(Number),
|
||||
type: 'TagDeclarator',
|
||||
value: 'myPath',
|
||||
},
|
||||
|
Reference in New Issue
Block a user