Skip to content

Commit

Permalink
Refactor to remove warning in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Feb 13, 2025
1 parent bcdc5b3 commit 78d08de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* @jsxRuntime automatic @jsxImportSource react */
/**
* @import {Root} from 'hast'
* @import {ComponentProps, ReactElement} from 'react'
* @import {ComponentProps} from 'react'
* @import {ExtraProps} from 'react-markdown'
*/

Expand Down Expand Up @@ -409,7 +409,7 @@ test('react-markdown', async function (t) {
assert.equal(url, 'https://b.com')
assert.equal(key, 'src')
assert.equal(node.tagName, 'img')
return ''
return null
}}
/>
),
Expand Down

0 comments on commit 78d08de

Please sign in to comment.