Peter Kofler led a coding dojo on adding tests to legacy code. The dojo focused on understanding legacy code, breaking dependencies, extracting pure functions and classes, and refactoring code to be testable. Participants worked on adding tests to the "Ugly Trivia" legacy codebase, an implementation of the game Trivial Pursuit, by extracting pure functions and classes and writing tests for the extracted code.