import prisma from '../src/__mocks__/prisma'
test('mock test', async () => {
const newUser = { email: 'user@prisma.io', name: 'Prisma Fan' };
const createdUser = await prisma.user.create({
data: newUser,
});
expect(createdUser).toBeUndefined();
const userId = 1;
const foundUser = await prisma.user.findUnique({
where: { id: userId },
});
expect(foundUser).toBeUndefined()
// expect(foundUser).toBeDefined();
// expect(foundUser!.id).toBe(userId);
});