refactor(test): update paths and mocks

This commit is contained in:
Mauricio Siu
2024-09-29 18:44:07 -06:00
parent 7bd6b66551
commit 98aa474975
6 changed files with 93 additions and 89 deletions

View File

@@ -1,15 +1,7 @@
import { type PostgresJsDatabase, drizzle } from "drizzle-orm/postgres-js";
import postgres from "postgres";
// import { sc } from "@dokploy/schema";
import * as schema from "./schema";
// schema
// import * as schema from "@dokploy/schema";
// type Schema = typeof schema;
// type Schema = typeof schema;
declare global {
// eslint-disable-next-line no-var -- only var works here
var db: PostgresJsDatabase<typeof schema> | undefined;
}