Skip to content

Commit

Permalink
Add tests for exposed identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Feb 3, 2023
1 parent 260a782 commit 44fa2fe
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ import {fromMarkdown} from 'mdast-util-from-markdown'
import {toMarkdown} from 'mdast-util-to-markdown'
import {mdxjs} from 'micromark-extension-mdxjs'
import {mdxFromMarkdown, mdxToMarkdown} from './index.js'
import * as mod from './index.js'

test('core', () => {
assert.deepEqual(
Object.keys(mod).sort(),
['mdxFromMarkdown', 'mdxToMarkdown'],
'should expose the public api'
)
})

test('mdxFromMarkdown', () => {
assert.deepEqual(
Expand Down

0 comments on commit 44fa2fe

Please sign in to comment.