-
Notifications
You must be signed in to change notification settings - Fork 109
Description
In our codebase we have in-repo addons where all files are defined in the app directory. With the v1 version this works perfectly, we can see the coverage line by line in Codecov. However, when we try out the v2 beta, all those files are not recognized anymore. The coverage itself does seem to be calculated correctly though (the coverage doesn't change in Codecov), so it seems like the files are just missing in the reports.
When I try moving a component to the addon folder of an in-repo addon and re-export it in app again, then that component does show up as expected. This is also something I have confirmed in the tests for coverage in in-repo addons: all files in these tests are defined in the addon folder, so that explains why the tests haven't failed yet. When I then add a file in app, the tests should fail because the file should be missing from the snapshot, but instead it just passes.
I have a PR with a failing test ready, so I hope that will help confirming the issue and fixing it 🙏