Prisma, Authorization, Typescript, Web Development.
).rejects.toThrow(); // Adam shouldn't see the resource because it's not published let allResourcesByAdam = await adamDb.resource.findMany(); console.log('All resources read by Adam:', inspect(allResourcesByAdam)); expect(allResourcesByAdam).toHaveLength(0); // Emily should be able to publish the