Open Quramy opened 6 months ago
The following error may occur if @prisma/client runs in jsdom env:
@prisma/client
PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `node`).
And the environment inheritance relationship inferred from the package name is misleading. ( e.g. #103 )
@quramy/jest-prisma
jest-enviroment-jsdom
@quramy/jest-prisma-node
jest-environment-node
jest-enviroment-node
The following error may occur if
@prisma/client
runs in jsdom env:And the environment inheritance relationship inferred from the package name is misleading. ( e.g. #103 )
Current (jest-prisma v1.x )
@quramy/jest-prisma
extendsjest-enviroment-jsdom
@quramy/jest-prisma-node
extendsjest-environment-node
After (jest-prisma v2.x)
@quramy/jest-prisma
extendsjest-enviroment-node
@quramy/jest-prisma-node
-> will be removed