You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm developing a small library ( just an index.ts and index.spec.ts for tests) and apparently jest is ignoring the coverage from index.ts although the tests are passing!
To Reproduce
Steps to reproduce the behavior:
npm init
npm i -D webpack webpack-cli @webpack-cli/init
Init the project with default typescript settings:
webpack init
npm i -D jest typescript ts-jest @types/jest
npx ts-jest config:init
npm run test -- --collect-coverage
🐛 Bug Report
I'm developing a small library ( just an index.ts and index.spec.ts for tests) and apparently jest is ignoring the coverage from index.ts although the tests are passing!
To Reproduce
Steps to reproduce the behavior:
npm init
npm i -D webpack webpack-cli @webpack-cli/init
Init the project with default typescript settings:
This the structure of the project:
jest.config:
Expected behavior
Collect coverage
Link to repo (highly encouraged)
Debug log:
envinfo
The text was updated successfully, but these errors were encountered: