Read the Actual Test Output
Scenario
An agent says the booking fix is done. Compare three possible reports.
Try it yourself
Which report gives evidence of the correct check actually passing?
| Case | Result |
|---|---|
| “Looks good” | Select a choice above to see what happens. |
| “0 tests discovered” | Select a choice above to see what happens. |
| “node --test booking.test.mjs · 3 passed” | Select a choice above to see what happens. |
Reveal the explanation
- “Looks good”
This says nothing about which tests ran.
- “0 tests discovered”
The intended tests did not run.
- “node --test booking.test.mjs · 3 passed”
The named test run reports three passing cases. Check the cases cover the rule.
When a check fails, identify the failing case and compare the expected value with the actual value.
Your turn
Run the shared JavaScript test suite and write down which cases were executed.
Common mistake Treating zero discovered tests as evidence of success.
Check your work
The command and output identify the zero-, one-, and two-seat checks.
This browser could not save your progress. Changes last until you leave the page.