mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-11-25 15:55:09 -05:00
12 lines
318 B
TypeScript
12 lines
318 B
TypeScript
import { beforeAll } from "bun:test";
|
|
|
|
process.env.PGDATABASE = "kyoo_test";
|
|
process.env.JWT_SECRET = "this is a secret";
|
|
process.env.JWT_ISSUER = "https://kyoo.zoriya.dev";
|
|
|
|
beforeAll(async () => {
|
|
// lazy load this so env set before actually applies
|
|
const { migrate } = await import("~/db");
|
|
await migrate();
|
|
});
|