mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 08:06:00 +00:00
16 lines
522 B
TypeScript
16 lines
522 B
TypeScript
import { connectionTestSuite } from "data/connection/connection-test-suite";
|
|
import { bunSqlite } from "./BunSqliteConnection";
|
|
import { bunTestRunner } from "adapter/bun/test";
|
|
import { describe } from "bun:test";
|
|
import { Database } from "bun:sqlite";
|
|
|
|
describe("BunSqliteConnection", () => {
|
|
connectionTestSuite(bunTestRunner, {
|
|
makeConnection: () => ({
|
|
connection: bunSqlite({ database: new Database(":memory:") }),
|
|
dispose: async () => {},
|
|
}),
|
|
rawDialectDetails: [],
|
|
});
|
|
});
|