menu_book Course Curriculum (Deno) expand_more
Runtime Basics
Modules
File & Process APIs
HTTP
Tooling
Dependencies & Packaging
Web APIs
test steps
Learn test steps in Deno with a dedicated explanation, a topic-specific example, edge guidance, and a mastery check.
12 min read
•
Intermediate
deno-044.ts
typescript
Deno.test("checkout", async t => { await t.step("subtotal", () => { if (2 + 3 !== 5) throw new Error("bad subtotal"); }); });
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content