mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-06-03 20:12:11 +00:00
Forge jwt for tests
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import { beforeAll } from "bun:test";
|
||||
import { migrate } from "~/db";
|
||||
|
||||
process.env.JWT_SECRET = "this is a secret";
|
||||
process.env.JWT_ISSUER = "https://kyoo.zoriya.dev";
|
||||
|
||||
beforeAll(async () => {
|
||||
await migrate();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user