craft
craft copied to clipboard
Line coverage can vary slightly even with no code changes
PR https://github.com/code-dot-org/craft/pull/52 attempted to reduce variance in code coverage metrics due to random animation timing. This helped, but we're still seeing tiny variation in line coverage of animations in integration tests.
Creating this issue to track.
Sample diff: https://codecov.io/gh/code-dot-org/craft/pull/174/src/src/js/game/Entities/Chicken.js
Another: https://codecov.io/gh/code-dot-org/craft/pull/215/src/src/js/game/Entities/IronGolem.js
https://codecov.io/gh/code-dot-org/craft/pull/243/src/src/js/game/Entities/IronGolem.js