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 4bc33da commit d6a45edCopy full SHA for d6a45ed
test/core.js
@@ -3,8 +3,15 @@ import test from 'node:test'
3
import {u} from 'unist-builder'
4
import {h} from 'hastscript'
5
import {toHtml} from '../index.js'
6
+import * as mod from '../index.js'
7
8
test('toHtml()', () => {
9
+ assert.deepEqual(
10
+ Object.keys(mod).sort(),
11
+ ['toHtml'],
12
+ 'should expose the public api'
13
+ )
14
+
15
assert.throws(
16
() => {
17
// @ts-expect-error runtime.
0 commit comments