test: add initial unit tests (#56)
* chore: add initial db migration * test: add unit tests for packages auth, common, widgets * fix: deep source issues * fix: format issues * wip: add unit tests for api routers * fix: deep source issues * test: add missing unit tests for integration router * wip: board tests * test: add unit tests for board router * fix: remove unnecessary null assertions * fix: deepsource issues * fix: formatting * fix: pnpm lock * fix: lint and typecheck issues * chore: address pull request feedback * fix: non-null assertions * fix: lockfile broken
This commit is contained in:
@@ -8,7 +8,7 @@ export const schema = sqliteSchema;
|
||||
|
||||
export * from "drizzle-orm";
|
||||
|
||||
const sqlite = new Database(process.env.DB_URL);
|
||||
export const sqlite = new Database(process.env.DB_URL);
|
||||
|
||||
export const db = drizzle(sqlite, { schema });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user