Skip to content

Conversation

@cpcallen
Copy link
Collaborator

Two tweaks to PR #704 in preparation for adding more move tests:

  • Add a // @ts-ignore to suppress an Unintended Comparison error that can occur when PAUSE_TIME is set to a value other than 0.
  • Modify the moveTest helper: by assuming that the moving block always finishes at the same location it starts, it's possible to considerably simplify the tests that call it.

Part of #696.

When PAUSE_TIME is set to a value other than 0 the comparison
in sendKeyAndWait generates a TS unintentionl comparison error.
Simplify moveTest (and the tests that use it) by assuming that
the move always finishes in the same location it started in.

We will leave testing various move end scenarios (e.g. healing)
for a separate suite of move-finishing tests, akin to existing
move start tests.
@cpcallen cpcallen requested a review from a team as a code owner August 28, 2025 13:40
@cpcallen cpcallen requested review from gonfunko and removed request for a team August 28, 2025 13:40
@cpcallen
Copy link
Collaborator Author

OK, I had to re-run the flaky test a few too many times for my liking but I believe this is now ready to go, pending review.

@cpcallen
Copy link
Collaborator Author

Superseded by #710.

@cpcallen cpcallen closed this Aug 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants