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 ab3559e commit ed996feCopy full SHA for ed996fe
test/index.js
@@ -16,8 +16,15 @@ import {parse, parseFragment} from 'parse5'
16
import {visit} from 'unist-util-visit'
17
import {read, toVFile} from 'to-vfile'
18
import {fromParse5} from '../index.js'
19
+import * as mod from '../index.js'
20
21
test('fromParse5', () => {
22
+ assert.deepEqual(
23
+ Object.keys(mod).sort(),
24
+ ['fromParse5'],
25
+ 'should expose the public api'
26
+ )
27
+
28
const file = toVFile({value: '<title>Hello!</title><h1>World!'})
29
30
assert.deepEqual(
0 commit comments