nrml
Amazon prep path
Practical coding trackWeek 1Pro module

Test time and one-use state

Use explicit clocks to test expiry, replacement, and one-use authorization. Keep each user’s challenge and saved profile consistent.

What you will practice

  • Write an explicit validity interval and test its edges.
  • Distinguish user identity, challenge identity, and permission to update.
  • Check replacement and repeated use without relying on a live clock.

Continue the guided path with Pro

Get this lesson, its focused drills and review guidance, plus explanations, replay, and unlimited native grading. AI usage has a separate allowance.

Sources and scope

Sources establish reported task overlap, not each module’s exact API, starter, tests, or extensions. Those are independently authored nrml practice. Linked report dates appear in the source labels; reviewed dates refer to the recorded source review. Historical reports and secondary summaries are identified explicitly. Completion records practice and review, not hiring readiness.