Asset content
Generate practical tests for this code. Focus on core behavior, edge cases, invalid inputs, regression risks, and important user flows. Keep the tests readable. Avoid excessive mocking unless necessary. Explain how to run the tests.
Paste into Codex before starting a multi-step task.