We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4015bcb commit 31fcc54Copy full SHA for 31fcc54
1 file changed
__tests__/components/PromptForm.test.tsx
@@ -96,7 +96,7 @@ describe("PromptForm – authenticated submission", () => {
96
expect(mockAddOptimistic).toHaveBeenCalledWith(
97
expect.objectContaining({ title: "My Prompt", content: "Prompt content" })
98
);
99
- expect(mockPush).toHaveBeenCalledWith("/dashboard");
+ expect(mockPush).toHaveBeenCalledWith("/");
100
});
101
102
it("defaults collection to 'uncategorized' when left blank", async () => {
0 commit comments