Skip to content

Conversation

@Masynchin
Copy link
Contributor

@Masynchin Masynchin commented Mar 8, 2024

In tests where ref not used (which is half of all tests) I have replaced it with createExecutor() where executor parameters set to defaults, and createExecutor(n) where n is not equals to default 300

@Masynchin Masynchin marked this pull request as draft March 8, 2024 15:32
@Masynchin
Copy link
Contributor Author

I will tweak this PR after #281 will be merged

@lenguyenthanh
Copy link
Member

thanks @Masynchin, f.y.i I'm done with #281

@Masynchin Masynchin marked this pull request as ready for review March 11, 2024 14:12
@Masynchin
Copy link
Contributor Author

Masynchin commented Mar 11, 2024

@lenguyenthanh I tweaked it and have also:

  • Created createExecutor for ref, so in the tests where ref is used, there is no need now to instantiate client explicitly (now tests are the chains of only <- 🎉).
  • Provided emptyMovesRef alias, so less square brackets overall.

@lenguyenthanh
Copy link
Member

thanks @Masynchin

@lenguyenthanh lenguyenthanh merged commit 8c7f667 into lichess-org:master Mar 11, 2024
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.

2 participants