test: set DB_PATH in process.env for main.test.ts
This commit is contained in:
parent
c2bebb1712
commit
7b80678ff9
|
|
@ -1,3 +1,6 @@
|
|||
// Set isolated DB path before import to protect production data
|
||||
process.env.DB_PATH = "./data/test-isolated.sqlite";
|
||||
|
||||
import { test, expect, mock, afterEach } from "bun:test";
|
||||
import type { Cookie } from "elysia";
|
||||
import {
|
||||
|
|
|
|||
Loading…
Reference in New Issue