Skip to content

Cannot read property 'trimEnd' of null in v8-to-istanbul #2

Description

@scottfwalter

When I run against my app I get the following exception:

TypeError: Cannot read property 'trimEnd' of null
    at new CovSource (/Users/scott/cxone/apps/cxone-hybrid-webapp-boilerplate/node_modules/v8-to-istanbul/lib/source.js:6:27)
    at /Users/scott/cxone/apps/cxone-hybrid-webapp-boilerplate/node_modules/v8-to-istanbul/lib/v8-to-istanbul.js:54:90
    at Array.map (<anonymous>)
    at V8ToIstanbul.load (/Users/scott/cxone/apps/cxone-hybrid-webapp-boilerplate/node_modules/v8-to-istanbul/lib/v8-to-istanbul.js:54:57)
    at convertToIstanbulCoverage (/Users/scott/cxone/apps/cxone-hybrid-webapp-boilerplate/node_modules/@bgotink/playwright-coverage/src/data.ts:183:5)
    at CoverageReporter.onEnd (/Users/scott/cxone/apps/cxone-hybrid-webapp-boilerplate/node_modules/@bgotink/playwright-coverage/src/reporter.ts:73:30)
    at Multiplexer.onEnd (/Users/scott/cxone/apps/cxone-hybrid-webapp-boilerplate/node_modules/@playwright/test/lib/test/reporters/multiplexer.js:73:7)
    at Runner._run (/Users/scott/cxone/apps/cxone-hybrid-webapp-boilerplate/node_modules/@playwright/test/lib/test/runner.js:363:7)

I will try to dig into it but wanted you to be aware. If you feel there's anything I can provide to help debug this then don't hesitate to let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions