Coding task · JavaScript and TypeScript course · Module 11: Testing with Jest

Structure of describe/it/expect

Practice writing tests with describe and it blocks.

Task

Write tests for a dinosaur health points system using describe, it, expect.