Skip to content
API reference

testing

Import
import * as api from "@fungi.computer/puffball/testing";
Kind Export Description
function sqliteD1() Adapt caller-owned Node SQLite to the catalog’s D1 transport for tests and quick starts. The caller applies schema and closes the database. This is not a Cloudflare emulator or an isolation boundary.
Signature
function sqliteD1(sqlite): AppReleaseD1Database;

Adapt caller-owned Node SQLite to the catalog’s D1 transport for tests and quick starts. The caller applies schema and closes the database. This is not a Cloudflare emulator or an isolation boundary.

Parameter Type
sqlite DatabaseSync

AppReleaseD1Database