rehypejs / rehype-react

Compare 97397e1 ... +2 ... 01fd392

Coverage Reach
lib/index.js index.js

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 5 files from the diff.
Other files ignored by Codecov
package.json has changed.
index.d.ts has changed.
.gitignore has changed.

@@ -20,25 +20,7 @@
Loading
20 20
 * @property {string|undefined} [prefix='h-']
21 21
 *   React key prefix
22 22
 *
23 -
 * @typedef WithNode
24 -
 * @property {Element} node
25 -
 *   Current hast element.
26 -
 *
27 -
 * @typedef ComponentsWithNodeOptions
28 -
 * @property {true} passNode
29 -
 *   Expose hast elements as a `node` field in components.
30 -
 * @property {Partial<{[TagName in keyof JSX.IntrinsicElements]: string|((props: WithNode & JSX.IntrinsicElements[TagName]) => ReactNode)}>} [components]
31 -
 *   Override default elements (such as `<a>`, `<p>`, etcetera) by passing an
32 -
 *   object mapping tag names to components.
33 -
 *
34 -
 * @typedef ComponentsWithoutNodeOptions
35 -
 * @property {false|undefined} [passNode]
36 -
 *   Expose hast elements as a `node` field in components.
37 -
 * @property {Partial<{[TagName in keyof JSX.IntrinsicElements]: string|((props: JSX.IntrinsicElements[TagName]) => ReactNode)}>} [components]
38 -
 *   Override default elements (such as `<a>`, `<p>`, etcetera) by passing an
39 -
 *   object mapping tag names to components.
40 -
 *
41 -
 * @typedef {SharedOptions & (ComponentsWithNodeOptions|ComponentsWithoutNodeOptions)} Options
23 +
 * @typedef {SharedOptions & (import("./complex-types").ComponentsWithNodeOptions|import("./complex-types").ComponentsWithoutNodeOptions)} Options
42 24
 */
43 25
44 26
import {toH} from 'hast-to-hyperscript'

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
index.js 100.00%
lib/index.js 100.00%
Project Totals (2 files) 100.00%
Loading