Skip to content

Commit f41f6af

Browse files
committed
Add tests for exposed identifiers
1 parent 0a93c5e commit f41f6af

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
@@ -4,6 +4,15 @@ import {fromMarkdown} from 'mdast-util-from-markdown'
44
import {toMarkdown} from 'mdast-util-to-markdown'
55
import {math} from 'micromark-extension-math'
66
import {mathFromMarkdown, mathToMarkdown} from './index.js'
7+
import * as mod from './index.js'
8+
9+
test('core', () => {
10+
assert.deepEqual(
11+
Object.keys(mod).sort(),
12+
['mathFromMarkdown', 'mathToMarkdown'],
13+
'should expose the public api'
14+
)
15+
})
716

817
test('mathFromMarkdown', () => {
918
assert.deepEqual(

0 commit comments

Comments
 (0)