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 758bd5c commit 282e12dCopy full SHA for 282e12d
test.js
@@ -13,8 +13,15 @@ import test from 'node:test'
13
import {ParseEnglish} from 'parse-english'
14
import {visit} from 'unist-util-visit'
15
import {isLiteral} from './index.js'
16
+import * as mod from './index.js'
17
18
test('isLiteral()', () => {
19
+ assert.deepEqual(
20
+ Object.keys(mod).sort(),
21
+ ['isLiteral'],
22
+ 'should expose the public api'
23
+ )
24
+
25
assert.throws(
26
() => {
27
// @ts-expect-error runtime.
0 commit comments