Skip to the workspace
Pebellslearn by building
← All interview tasks

Advanced · Engineering discussion

Review a green test suite

testing · design · contracts

Not checked yet

Guest practice stays in this visit. Sign in to save your progress. Checks cover the stated cases; discussion rubrics are self-reviewed. These tasks do not mark course lessons complete.

An invoice function calls an exchange-rate API. Every test patches the whole invoice function to return a constant. The suite is green. Design a better set of tests.

Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.