You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test('it should delete a post',async()=>{try{constresult=awaitpostsRepo.deletePosts('1');expect(results).toBeTruthy();}catch(error){console.log(error);}})
I am getting the following error
The text was updated successfully, but these errors were encountered:
Hello @mxrcochxvez , thanks a lot. Unfortunately, I don't have enough information to find where this issue is coming from. This might be related to your specific use case, would you be able to create a minimum reproductible example on a public repository? Maybe you have more information on the error too?
For privacy reasons I am going to make this code as ambiguous as possible. However the concept very closely follows what I am trying to achieve.
posts.repo.ts
mock-prisma.ts (setupTests method)
posts.spec.ts
I am getting the following error
The text was updated successfully, but these errors were encountered: