Last updated 2 years ago
Was this helpful?
JS ⟩ debug ⟩ testing
Eloquent JavaScript ⟩ Bugs & Errors ⟩ Testing
replit ⟩ docs ⟩ Unit Testing
function test(label, body) { if (!body()) console.log(`Failed: ${label}`); } test("convert Latin text to uppercase", () => { return