We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e18e20 commit e468aeeCopy full SHA for e468aee
test.js
@@ -2,8 +2,15 @@ import assert from 'node:assert/strict'
2
import test from 'node:test'
3
import {fromMarkdown} from 'mdast-util-from-markdown'
4
import {definitions} from './index.js'
5
+import * as mod from './index.js'
6
+
7
+test('definitions', () => {
8
+ assert.deepEqual(
9
+ Object.keys(mod).sort(),
10
+ ['definitions'],
11
+ 'should expose the public api'
12
+ )
13
-test('mdast-util-definitions', () => {
14
assert.throws(
15
() => {
16
// @ts-expect-error runtime
0 commit comments