istanbuljs / nyc

the Istanbul command line interface

Home Page:https://istanbul.js.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

empty report issue

taburetkin opened this issue · comments

Link to bug demonstration repository

https://github.com/taburetkin/nyc-issue

Expected Behavior

I Expected that report will contain coverage inforamtion atleast for src/first.js and src/second.js

Observed Behavior

empty report for different configuration options
image

Troubleshooting steps

  • still occurring when I put cache: false in my nyc config
  • still occurring when i put all: true in my nyc config

Environment Information

npx envinfo@latest --preset nyc outputs these:

  System:
    OS: Windows 10 10.0.22000
    CPU: (24) x64 12th Gen Intel(R) Core(TM) i9-12900KF
    Memory: 107.91 GB / 127.82 GB
  Binaries:
    Node: 18.12.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 3.3.0 - C:\Program Files\nodejs\yarn.CMD
    npm: 9.2.0 - C:\Program Files\nodejs\npm.CMD
  npmPackages:
    nyc: ^15.1.0 => 15.1.0

but information is incorect.
actual os is win 11 build: 22000.1817