Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit 606944b

Browse files
committed
Add tests for exposed identifiers
1 parent 074da00 commit 606944b

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 {footnote} from 'micromark-extension-footnote'
66
import {footnoteFromMarkdown, footnoteToMarkdown} from './index.js'
7+
import * as mod from './index.js'
8+
9+
test('core', () => {
10+
assert.deepEqual(
11+
Object.keys(mod).sort(),
12+
['footnoteFromMarkdown', 'footnoteToMarkdown'],
13+
'should expose the public api'
14+
)
15+
})
716

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

0 commit comments

Comments
 (0)