Skip to content

Commit 31fcc54

Browse files
Revert "fixed test assertion to old route"
This reverts commit a6d3101.
1 parent 4015bcb commit 31fcc54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

__tests__/components/PromptForm.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ describe("PromptForm – authenticated submission", () => {
9696
expect(mockAddOptimistic).toHaveBeenCalledWith(
9797
expect.objectContaining({ title: "My Prompt", content: "Prompt content" })
9898
);
99-
expect(mockPush).toHaveBeenCalledWith("/dashboard");
99+
expect(mockPush).toHaveBeenCalledWith("/");
100100
});
101101

102102
it("defaults collection to 'uncategorized' when left blank", async () => {

0 commit comments

Comments
 (0)