Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Sep 29, 2023
1 parent af61fbe commit 18edd86
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/esbuild/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,12 @@ test('@mdx-js/esbuild', async (t) => {
const jsx = head.children[1] // JSX in heading
assert.equal(jsx?.type, 'mdxJsxTextElement')
file.message('1')
// @ts-expect-error: to do: fix types.
file.message('2', eol)
// @ts-expect-error: to do: fix types.
file.message('3', tree)
file.message('4', esm)
// @ts-expect-error: to do: fix types.
file.message('5', text) // Text in heading
file.message('6', jsx) // JSX in heading
file.message('7', head.position.end).fatal = true // End of heading
Expand Down

0 comments on commit 18edd86

Please sign in to comment.