Skip to content

Commit 74ed52a

Browse files
committed
Add tests for exposed identifiers
1 parent 183b34d commit 74ed52a

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 {ParseDutch} from 'parse-dutch'
88
import {ParseEnglish} from 'parse-english'
99
import {fromHtml} from 'hast-util-from-html'
1010
import {toNlcst} from '../index.js'
11+
import * as mod from '../index.js'
1112

1213
test('toNlcst', () => {
14+
assert.deepEqual(
15+
Object.keys(mod).sort(),
16+
['toNlcst'],
17+
'should expose the public api'
18+
)
19+
1320
assert.throws(
1421
() => {
1522
// @ts-expect-error runtime.

0 commit comments

Comments
 (0)