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 f0f623c commit 8d71bddCopy full SHA for 8d71bdd
test.js
@@ -3,8 +3,15 @@ import test from 'node:test'
3
import stringify from 'json-stringify-safe'
4
import {parse, parseFragment} from 'parse5'
5
import {toParse5} from './index.js'
6
+import * as mod from './index.js'
7
+
8
+test('toParse5', () => {
9
+ assert.deepEqual(
10
+ Object.keys(mod).sort(),
11
+ ['toParse5'],
12
+ 'should expose the public api'
13
+ )
14
-test('core', () => {
15
assert.deepEqual(
16
json(
17
toParse5({
0 commit comments