Closed
Description
I want to test if my code in beforeSave
works fine or not
In my beforeSave I can increment or update same fields of the same object or even of a different object, for example if user like a post in my app, I can increment the likeCount
in the _User
class.
Is there a way to test such kind of code?
Metadata
Metadata
Assignees
Labels
No labels