Module 0 · In Studio · challenge 2 of 3 in this lesson
src/shared/SetupCheck.luau exists on disk and returns synced = true
A test in Studio grades it and prints a pass code.
Open
Level 3, Professional
Challenge
Prove the whole chain with a test. Create src/shared/SetupCheck.luau on disk, let Rojo sync it, press Play, and run the check from the server command bar:
game.ServerScriptService.RunGameTests:Invoke("setup")
It prints TEST PASS setup_synced, TEST PASS setup_tools, and your BY- pass code. Delete SetupCheck.luau afterwards; it is a probe.
- Start from
- The game at milestone m14 (download)
- Grade it
- In Studio, press Play, then run
game.ServerScriptService.RunGameTests:Invoke("setup")in the server command bar. Copy the pass code from Output.
Done means
- src/shared/SetupCheck.luau exists on disk and returns synced = true
- Its tools list names all five pinned tools: rojo, stylua, selene, wally and luau-lsp
- Self-check, not graded: StyLua and Selene are quiet on the new file