Beginner · Optional lab · about 45 minutes · Builder Badge
From request to commit in code
The job
Ade's patch makes the bakery's tests pass again. Check it does only what it says, so a missing page can't hide on the website.
After this Lesson you can
- check that a code change does only what it says, by running it on a case you choose
- ask Claude for a test that fails on the bad version
- read a diff for changes it should not hold
- commit a fix with its test
What you practise
git apply <patch>: applies a patch to the working tree, with no commit/diff: shows the session's uncommitted changesnpm test: runsnode --testovertest/