Browse modulesPersistenceFunctions
Function: resetPrismaClient()
function resetPrismaClient(): void;Defined in: server/persistence/client-registry.ts:85
Clear the ambient client. Useful in tests that spin multiple clients in the same process. Does NOT clear sentinels — sentinels are tied to the schema generator output, not to a particular client instance, so they survive client swaps. Use resetPrismaSentinels to clear them explicitly.
Returns
void