Open vherrmann opened 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 96.42%. Comparing base (
4ec4eda
) to head (3de527f
).
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I have just noticed that the even though quiz.cancel()
is executed on animateCharacter
it is not on e.g. showCharacter
. Therefore this pr may not be that reasonable after all (since the feature would work in unexpected ways).
With this pr I want to add the callback onCancel to the options of quiz objects. This callback is executed whenever the quiz is cancelled. I gave it the same type as onComplete:
All tests have passed on my machine.