Skip to content

Commit 048af37

Browse files
committed
Add tests for exposed identifiers
1 parent de9f8a7 commit 048af37

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ import {removePosition} from 'unist-util-remove-position'
77
import {mdxJsx} from 'micromark-extension-mdx-jsx'
88
import {mdxMd} from 'micromark-extension-mdx-md'
99
import {mdxJsxFromMarkdown, mdxJsxToMarkdown} from './index.js'
10+
import * as mod from './index.js'
11+
12+
test('core', () => {
13+
assert.deepEqual(
14+
Object.keys(mod).sort(),
15+
['mdxJsxFromMarkdown', 'mdxJsxToMarkdown'],
16+
'should expose the public api'
17+
)
18+
})
1019

1120
test('mdxJsxFromMarkdown', () => {
1221
assert.deepEqual(

0 commit comments

Comments
 (0)