syntax-tree / unist-util-position

Compare f850de3 ... +1 ... e2b6fde

Coverage Reach
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 4 files from the diff.
Other files ignored by Codecov
package.json has changed.
test.js has changed.
readme.md has changed.

@@ -12,8 +12,8 @@
Loading
12 12
 * @property {PositionLike} [position]
13 13
 */
14 14
15 -
export var pointStart = point('start')
16 -
export var pointEnd = point('end')
15 +
export const pointStart = point('start')
16 +
export const pointEnd = point('end')
17 17
18 18
/**
19 19
 * Get the positional info of `node`.
@@ -41,8 +41,8 @@
Loading
41 41
   */
42 42
  function point(node) {
43 43
    /** @type {Point} */
44 -
    // @ts-ignore looks like a point
45 -
    var point = (node && node.position && node.position[type]) || {}
44 +
    // @ts-expect-error looks like a point
45 +
    const point = (node && node.position && node.position[type]) || {}
46 46
47 47
    return {
48 48
      line: point.line || null,

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%
Project Totals (1 files) 100.00%
Loading