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
During testing, I found an issue where if you use an exported function inside mocks and it is triggered by mocks, the function's name will not be covered, but the body of the function will be. Logically, since this function has been called, it should be covered as well.
Describe the bug
During testing, I found an issue where if you use an exported function inside mocks and it is triggered by mocks, the function's name will not be covered, but the body of the function will be. Logically, since this function has been called, it should be covered as well.
Input code
Config
Playground link (or link to the minimal reproduction)
https://github.com/desout/jest-swc-coverage-issue
SWC Info output
Expected behavior
export function should be covered
Actual behavior
Version
1.7.14
Additional context
No response
The text was updated successfully, but these errors were encountered: