Question · Vibe coding with Claude Code course · Module 13: Twitch clone
Quiz: invented helpers
The agent's code calls generateId() and getCurrentUser(), which nobody in the project wrote. What caught it for us?
Answer options
- npm run lint with the error no-undef
- npx tsc --noEmit with the error Cannot find name 'generateId'; npm run lint stayed silent on that file
- Nothing until a click in the browser
- npm run test, because every file has its own test
You can check the correct answer by solving this task in the CodeWorlds game.