Some checks failed
Build and Push Docker Images (Trusted) / build-and-push (., docker/caddy/Dockerfile, caddy) (push) Has been cancelled
Build and Push Docker Images (Trusted) / build-and-push (., docker/l4-port-manager/Dockerfile, l4-port-manager) (push) Has been cancelled
Build and Push Docker Images (Trusted) / build-and-push (., docker/web/Dockerfile, web) (push) Has been cancelled
Tests / test (push) Has been cancelled
7 lines
438 B
TypeScript
Executable File
7 lines
438 B
TypeScript
Executable File
// Vitest-only shim: maps bun:sqlite's named Database export to better-sqlite3.
|
|
// Used via resolve.alias in vitest.config.ts so tests that transitively import
|
|
// src/lib/db.ts (which uses bun:sqlite) don't fail under Node.js.
|
|
// No actual queries run via this path in the affected tests (DATABASE_URL=:memory:
|
|
// skips migrations, and the tested functions don't touch the database).
|
|
export { default as Database } from 'better-sqlite3';
|