mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
11 lines
250 B
TypeScript
11 lines
250 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { SQLocal } from "sqlocal";
|
|
|
|
describe("base", () => {
|
|
const { sql } = new SQLocal(":memory:");
|
|
|
|
it("works", async () => {
|
|
expect(await sql`SELECT 1`).toEqual([{ "1": 1 }]);
|
|
});
|
|
});
|