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 8afd67c commit 945cf49Copy full SHA for 945cf49
test.js
@@ -5,8 +5,15 @@ import {u} from 'unist-builder'
5
import {h, s} from 'hastscript'
6
import {x} from 'xastscript'
7
import {toXast} from './index.js'
8
+import * as mod from './index.js'
9
10
test('toXast', async (t) => {
11
+ assert.deepEqual(
12
+ Object.keys(mod).sort(),
13
+ ['toXast'],
14
+ 'should expose the public api'
15
+ )
16
+
17
await t.test('main', () => {
18
assert.equal(typeof toXast, 'function', 'should expose a function')
19
0 commit comments