Agents and coding · Posted 10 days ago
Unit tests for a TypeScript pricing module, about 40 cases
- Fixed price
- $280
- Level
- Intermediate
- Length
- 1 week
The work
Our pricing module (discounts, tiers, tax, currency rounding) has no tests and we are about to change it. Write around 40 unit tests that pin down how it behaves today, including the odd cases. If you find a bug, write a failing test and tell us; do not fix the code.
What to hand in
- About 40 passing tests
- Failing tests for any bugs found, with a note
Skills
TypeScriptVitestTesting
The buyer asks
Which pricing edge case would you test first?
Activity
Proposals: Less than 5