Skip to content

feat: add test for multiple Yates clients operating in the same DB #437

feat: add test for multiple Yates clients operating in the same DB

feat: add test for multiple Yates clients operating in the same DB #437

Triggered via push November 15, 2025 13:23
Status Failure
Total duration 22s
Artifacts

unit-test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test: src/expressions.ts#L0
Type 'FFMeta<M>' does not satisfy the constraint 'AsyncFunction'.
test: src/expressions.ts#L0
Namespace '"/home/runner/work/yates/yates/node_modules/.prisma/client/default".Prisma' has no exported member 'ModelName'.
test: src/expressions.ts#L0
Type 'FFMeta<M>' does not satisfy the constraint '(...args: any) => any'.
test: src/expressions.ts#L0
Type '"where"' cannot be used to index type 'Exclude<Parameters<FFMeta<M>>["0"], undefined>'.
test: src/expressions.ts#L0
Namespace '"/home/runner/work/yates/yates/node_modules/.prisma/client/default".Prisma' has no exported member 'ModelName'.
test: src/expressions.ts#L0
Type '"findFirst"' cannot be used to index type 'PrismaClient[Uncapitalize<M>]'.
test: src/expressions.ts#L0
Type 'Uncapitalize<M>' cannot be used to index type 'PrismaClient'.
test: src/expressions.ts#L0
Namespace '"/home/runner/work/yates/yates/node_modules/.prisma/client/default".Prisma' has no exported member 'ModelName'.
test: node_modules/.prisma/client/default.d.ts#L0
Cannot redeclare block-scoped variable 'PrismaClient'.
test: node_modules/.prisma/client/default.d.ts#L0
Cannot redeclare block-scoped variable 'PrismaClient'.