Tests
Tests structures
Simple test
Deno.test('', () => {});Test steps
Deno.test("database operations", async (t) => {
using db = await openDatabase();
await t.step("insert user", async () => {
// Insert user logic
});
await t.step("insert book", async () => {
// Insert book logic
});
});Assertions
Running tests
Last updated