fix: add .js extension to schema-sql imports for ESM compatibility (#15)

This commit is contained in:
Daniel Volz
2026-01-02 15:41:58 +01:00
committed by GitHub
parent 1a1931fd92
commit f41f6df558
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import fastifyMultipart from "@fastify/multipart";
import { createClient, Client } from "@libsql/client";
import { drizzle } from "drizzle-orm/libsql";
import { beforeAll, afterAll, beforeEach } from "vitest";
import { getTableCreationSQL } from "../db/schema-sql";
import { getTableCreationSQL } from "../db/schema-sql.js";
// Type for our test database
export type TestDb = ReturnType<typeof drizzle>;