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 a869bb5 commit 8fb37e4Copy full SHA for 8fb37e4
test/main.js
@@ -6,8 +6,15 @@
6
import assert from 'node:assert/strict'
7
import test from 'node:test'
8
import {is} from '../index.js'
9
+import * as mod from '../index.js'
10
11
test('is', async (t) => {
12
+ assert.deepEqual(
13
+ Object.keys(mod).sort(),
14
+ ['convert', 'is'],
15
+ 'should expose the public api'
16
+ )
17
+
18
const node = {type: 'strong'}
19
const parent = {type: 'paragraph', children: []}
20
0 commit comments