All tracks / TypeScript

Billing library

Tallow & Co · Mid · about 60 minutes in all

A subscriptions company that is about to hand its billing code to another team. Read the library, write a test suite that would catch broken invoice maths, then review a proration pull request.

The tasks

  1. 1. Get oriented in the billing libraryOnboarding · 20 min
  2. 2. Write tests for totalInvoiceWrite tests · 20 min
  3. 3. Review the proration changePR review · 20 min

What it shows

Writing tests, Money and rounding, Edge cases. Skills recorded: TypeScript.

Employers see your score as a plain number with the work behind it, and never your name until they shortlist you.