We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71a71e4 commit 7ed530bCopy full SHA for 7ed530b
test.js
@@ -8,8 +8,15 @@ import test from 'node:test'
8
import {u} from 'unist-builder'
9
import {select} from 'unist-util-select'
10
import {Index} from './index.js'
11
+import * as mod from './index.js'
12
13
test('core', () => {
14
+ assert.deepEqual(
15
+ Object.keys(mod).sort(),
16
+ ['Index'],
17
+ 'should expose the public api'
18
+ )
19
+
20
const node = {type: 'a', id: 1}
21
const alt = {type: 'b', id: 1}
22
const tree = {type: 'root', children: [node, alt]}
0 commit comments