My-Weekly-ToDo-List/mock-prisma.ts
mARTin d92a8c7210 feat: add task actions (notes/delete) and refine animation logic
- Added 'onDelete' and 'onNotes' support to TaskItem.
- Implemented hover actions (Delete and Notes icons) for tasks.
- Added Notes Modal for editing task markdown content.
- Simplified navigation animation to remove blank flash (single-phase slide-in).
- Fixed syntax error in updateTask function.
- Updated styles for modal and task actions.
2026-02-01 12:25:53 +01:00

17 lines
378 B
TypeScript

// Mock Prisma client to bypass build errors for testing purposes
// This lets us run Playwright tests without needing a full build
export const prisma = {
task: {
findMany: jest.fn(),
create: jest.fn(),
update: jest.fn(),
delete: jest.fn(),
},
user: {
findUnique: jest.fn(),
create: jest.fn(),
update: jest.fn(),
}
};
export default prisma;