syntax-tree / hast-util-raw
Showing 1 of 2 files from the diff.
Other files ignored by Codecov
test.js has changed.

@@ -176,6 +176,9 @@
Loading
176 176
177 177
  function raw(node) {
178 178
    var start = pos.start(node)
179 +
    var line = start.line || 1
180 +
    var column = start.column || 1
181 +
    var offset = start.offset || 0
179 182
    var token
180 183
181 184
    // Reset preprocessor:
@@ -189,11 +192,11 @@
Loading
189 192
    // Reset preprocessor mixin:
190 193
    // See: <https://github.com/inikulin/parse5/blob/0491902/packages/parse5/lib/extensions/position-tracking/preprocessor-mixin.js>.
191 194
    posTracker.droppedBufferSize = 0
192 -
    posTracker.line = start.line
195 +
    posTracker.line = line
193 196
    posTracker.col = 1
194 197
    posTracker.offset = 0
195 -
    posTracker.lineStartPos = -start.column + 1
196 -
    posTracker.droppedBufferSize = start.offset
198 +
    posTracker.lineStartPos = -column + 1
199 +
    posTracker.droppedBufferSize = offset
197 200
198 201
    // Reset location tracker:
199 202
    // See: <https://github.com/inikulin/parse5/blob/0491902/packages/parse5/lib/extensions/location-info/tokenizer-mixin.js>.
Files Coverage
index.js 100.00%
Project Totals (1 files) 100.00%
62.1
lts/dubnium=/dubnium
TRAVIS_OS_NAME=linux
62.2
node=
TRAVIS_OS_NAME=linux

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading