mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 16:16:02 +00:00
16 lines
556 B
TypeScript
16 lines
556 B
TypeScript
import { describe } from "bun:test";
|
|
import { SQLocalConnection } from "./SQLocalConnection";
|
|
import { connectionTestSuite } from "data/connection/connection-test-suite";
|
|
import { bunTestRunner } from "adapter/bun/test";
|
|
import { SQLocalKysely } from "sqlocal/kysely";
|
|
|
|
describe("SQLocalConnection", () => {
|
|
connectionTestSuite(bunTestRunner, {
|
|
makeConnection: () => ({
|
|
connection: new SQLocalConnection(new SQLocalKysely({ databasePath: ":memory:" })),
|
|
dispose: async () => {},
|
|
}),
|
|
rawDialectDetails: [],
|
|
});
|
|
});
|