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 3d2b533 commit cf188fcCopy full SHA for cf188fc
test.js
@@ -9,8 +9,15 @@ import test from 'node:test'
9
import {fromMarkdown} from 'mdast-util-from-markdown'
10
import {VFile} from 'vfile'
11
import {source} from './index.js'
12
+import * as mod from './index.js'
13
+
14
+test('source', () => {
15
+ assert.deepEqual(
16
+ Object.keys(mod).sort(),
17
+ ['source'],
18
+ 'should expose the public api'
19
+ )
20
-test('unist-util-source', () => {
21
let file = new VFile('> + **[Hello](./example)**\n> world.')
22
/** @type {Node} */
23
let node = fromMarkdown(String(file))
0 commit comments