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 774976e commit 3ca1eadCopy full SHA for 3ca1ead
test/index.js
@@ -8,9 +8,16 @@ import test from 'node:test'
8
import {VFile} from 'vfile'
9
import {toVFile, read} from 'to-vfile'
10
import {fromHtml} from '../index.js'
11
+import * as mod from '../index.js'
12
import {errors as rerrors} from '../lib/errors.js'
13
-test('hast-util-from-html', () => {
14
+test('fromHtml', () => {
15
+ assert.deepEqual(
16
+ Object.keys(mod).sort(),
17
+ ['fromHtml'],
18
+ 'should expose the public api'
19
+ )
20
+
21
assert.deepEqual(
22
fromHtml('a'),
23
{
0 commit comments