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
* fix: Codewhisperer underreporting codecoverage
Problem:
- Codewhisperer was underreporting code coverage because c8 couldn't "see" the code in core
Solution:
- Use --allowExternal which allows c8 to report codecoverage on code outside of the cwd
Other notes:
- As far as I can tell/understand include isn't really necessary since we're using the "all" flag which considers all files in the cwd, --allowExternal which allows for src files to be outside of the amazonq directory (so it can see and report on the amazonq/codewhisperer test files), and exclude which specifically excludes certain files from the report
0 commit comments