Skip to content

Updated project files#676

Open
Malcolm-Wander wants to merge 4 commits into
Pulsefy:mainfrom
Malcolm-Wander:main
Open

Updated project files#676
Malcolm-Wander wants to merge 4 commits into
Pulsefy:mainfrom
Malcolm-Wander:main

Conversation

@Malcolm-Wander

Copy link
Copy Markdown

Changes made
closed #561

Updated project files
Add reviewCase mock methods (upsert, deleteMany, findUnique, findMany, count)
to the PrismaService provider in the verification service unit test.

Without these mocks, processVerification tests fail with:
- TypeError: Cannot read properties of undefined (reading 'upsert')
- TypeError: Cannot read properties of undefined (reading 'deleteMany')

Also adds two new test cases:
- Verifies deleteMany is called when score >= threshold (auto-verified)
- Verifies upsert is called when score < threshold (review case created)
@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

@Malcolm-Wander is attempting to deploy a commit to the Cedarich's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jun 28, 2026

Copy link
Copy Markdown

@Malcolm-Wander Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Cedarich

Copy link
Copy Markdown
Contributor

@Malcolm-Wander Kindly fix workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Observability — Metrics for Verification/Claim Funnel

2 participants