12 lines
278 B
TypeScript
12 lines
278 B
TypeScript
import { config } from "dotenv"
|
|
config({ path: ".env.test" })
|
|
import resetDb from "./reset-db"
|
|
import { beforeEach } from "vitest"
|
|
import { execSync } from "child_process"
|
|
|
|
execSync("prisma migrate deploy", { stdio: "ignore" })
|
|
|
|
beforeEach(async () => {
|
|
// await resetDb()
|
|
})
|