TheAfroOfDoom / omega-flowey-minecraft-remastered

MIT License
3 stars 1 forks source link

✅ Add unit test for `Datapack initalized` message upon setup #139

Closed TheAfroOfDoom closed 2 months ago

TheAfroOfDoom commented 2 months ago

Summary

A chat message was added to the setup function so that you'd get direct feedback that the datapack successfully loaded when you ran /reload.

I wanted to add a test for this in https://github.com/TheAfroOfDoom/omega-flowey-minecraft-remastered/pull/129 but couldn't get it to pass in CI.

The fix was to add the # @dummy test directive so the test server would find a player for the tellraw to have been sent to.


Reproducing in-game

In the test client:

test runall

Preview

CI passes :)