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 46dc069 commit 309ba4bCopy full SHA for 309ba4b
test.js
@@ -7,12 +7,19 @@ import assert from 'node:assert/strict'
7
import test from 'node:test'
8
import {fromMarkdown} from 'mdast-util-from-markdown'
9
import {findAfter} from './index.js'
10
+import * as mod from './index.js'
11
12
const tree = fromMarkdown('Some _emphasis_, **importance**, and `code`.')
13
const paragraph = /** @type {Parent} */ (tree.children[0])
14
const children = paragraph.children
15
-test('unist-util-find-after', () => {
16
+test('findAfter', () => {
17
+ assert.deepEqual(
18
+ Object.keys(mod).sort(),
19
+ ['findAfter'],
20
+ 'should expose the public api'
21
+ )
22
+
23
assert.throws(
24
() => {
25
// @ts-expect-error runtime.
0 commit comments