Cli-microsoft365: Bug report: npm run test can't generate the coverage report anymore

Created on 1 Nov 2020  路  2Comments  路  Source: pnp/cli-microsoft365

Description

Utilizing the latest version on master, I simply can't make the coverage report to work anymore.

Steps to reproduce

git clone https://github.com/pnp/cli-microsoft365.git
cd cli-microsoft365
npm i
npm run build
npm run test

Expected result

We should get a coverage report.

Actual result

image

Environment

On both Windows 10 and WSL2 with the latest version (3.3.0).

question

Most helpful comment

I am using Node 10.23.0. It actually works on 14.15.0.

Good catch. Didn't see the minimum required version in the docs. Now updated and it seems to be back to normal!

All 2 comments

Which version of Node are you using?

On macOS everything seems to be working just fine, so perhaps it's something related to Windows. @pnp/cli-for-microsoft-365-maintainers can any of you repro this issue?

I am using Node 10.23.0. It actually works on 14.15.0.

Good catch. Didn't see the minimum required version in the docs. Now updated and it seems to be back to normal!

Was this page helpful?
0 / 5 - 0 ratings