We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e35565 commit 41cfd0cCopy full SHA for 41cfd0c
test.js
@@ -9,8 +9,15 @@ import test from 'node:test'
9
import {fromMarkdown} from 'mdast-util-from-markdown'
10
import {toMarkdown} from 'mdast-util-to-markdown'
11
import {headingRange} from './index.js'
12
+import * as mod from './index.js'
13
+
14
+test('headingRange', () => {
15
+ assert.deepEqual(
16
+ Object.keys(mod).sort(),
17
+ ['headingRange'],
18
+ 'should expose the public api'
19
+ )
20
-test('mdast-util-heading-range()', () => {
21
assert.equal(typeof headingRange, 'function', 'should be a function')
22
23
assert.throws(
0 commit comments