회원가입, 로그인
This commit is contained in:
@@ -9,7 +9,7 @@ const BASE_URL = "http://localhost";
|
||||
// 이렇게 하면 CI/로컬 어디에서도 DATABASE_URL 이나 실제 DB 없이 Auth API 테스트를 실행할 수 있다.
|
||||
const inMemoryUsers: any[] = [];
|
||||
|
||||
vi.mock("@/generated/prisma/client", () => {
|
||||
vi.mock("@prisma/client", () => {
|
||||
class PrismaClientMock {
|
||||
user = {
|
||||
findUnique: async ({ where: { email } }: any) => {
|
||||
|
||||
Reference in New Issue
Block a user