Skip to content

Commit c1b1971

Browse files
committed
Add tests for exposed identifiers
1 parent edfd766 commit c1b1971

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,15 @@ import test from 'node:test'
88
import {fromMarkdown} from 'mdast-util-from-markdown'
99
import {toMarkdown} from 'mdast-util-to-markdown'
1010
import {isHidden} from 'is-hidden'
11+
import * as mod from '../index.js'
1112

1213
test('zone', async () => {
14+
assert.deepEqual(
15+
Object.keys(mod).sort(),
16+
['zone'],
17+
'should expose the public api'
18+
)
19+
1320
const root = new URL('fixtures/', import.meta.url)
1421
const folders = await fs.readdir(root)
1522
let index = -1

0 commit comments

Comments
 (0)