Skip to content

Commit 48ea074

Browse files
committed
Fix type error in tests
1 parent 66a13de commit 48ea074

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ test('sanitize()', async (t) => {
3131

3232
await t.test('ignored nodes', () => {
3333
assert.equal(
34-
// @ts-expect-error runtime.
34+
// Depending on which files are loaded (`mdast-util-to-hast`, `hast-util-raw`?)
35+
// TS might allow this or not:
36+
// @ts-ignore runtime.
3537
toHtml(sanitize(u('raw', '<xml></xml>'))),
3638
'',
3739
'should ignore `raw`'

0 commit comments

Comments
 (0)