Skip to content

Commit 437c1cc

Browse files
committed
Fix coverage
1 parent 1fc79ce commit 437c1cc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/image-reference.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ test('imageReference', () => {
4646
children: [
4747
// @ts-expect-error: reference type missing.
4848
{type: 'imageReference', identifier: 'golf', alt: 'hotel'},
49-
{type: 'definition', identifier: 'golf', url: 'india'}
49+
{type: 'definition', identifier: 'golf', url: 'india', title: 'x'}
5050
]
5151
}),
52-
h(null, [h('img', {src: 'india', alt: 'hotel'})]),
52+
h(null, [h('img', {src: 'india', alt: 'hotel', title: 'x'})]),
5353
'should transform `imageReference`s to `img`s (1)'
5454
)
5555

test/link-reference.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ test('linkReference', () => {
7575
}
7676
]
7777
},
78-
{type: 'definition', identifier: 'golf', url: 'india'}
78+
{type: 'definition', identifier: 'golf', url: 'india', title: 'x'}
7979
]
8080
}),
81-
h(null, [h('p', [h('a', {href: 'india'}, 'hotel')])]),
81+
h(null, [h('p', [h('a', {href: 'india', title: 'x'}, 'hotel')])]),
8282
'should transform `linkReference`s to `a`s'
8383
)
8484

0 commit comments

Comments
 (0)