testing createRouteAction$ using vitest
Hi all! How do I go about testing createServerAction$ in vitest? I'm basically writing
but when writing a simple vitest(by calling a "fireEvent.click(formButton);", the console.log is not hit at all. Are there fetch events to resolve? Or am I confusing both a frontend/backend test at the same? Thanks!
0 Replies