Leafwing-Studios / leafwing_input_playback

Input capture and playback functionality for the Bevy game engine.
Apache License 2.0
30 stars 5 forks source link

Use `TimeUpdateStrategy` in tests #27

Open alice-i-cecile opened 1 year ago

alice-i-cecile commented 1 year ago

Which code could be improved?

Our tests are currently pretty lazy, and use sleep. This is unreliable, and takes longer than needed.

How should this be changed?

Use the API introduced in https://github.com/bevyengine/bevy/pull/6159