Run Use without changes through name, description, and photo so final review never holds an editable field.

This commit is contained in:
adilallo committed 2026-11-24 21:05:40 -07:00
1 parent 53e27ef122
commit 6bf890fa78
13 files changed
+156 -145

No files matched your search

+2 -2
View File
@@ -196,10 +196,10 @@ describe("CommunityReviewScreen — pendingTemplateAction redirect", () => {
expect(testRouter.push).not.toHaveBeenCalled();
});
it("redirects Use without changes leftover pins to final review", async () => {
it("redirects Use without changes leftover pins to the name screen", async () => {
render(<ReviewWithPendingAction mode="useWithoutChanges" />);
await waitFor(() => {
expect(testRouter.replace).toHaveBeenCalledWith("/create/final-review");
expect(testRouter.replace).toHaveBeenCalledWith("/create/community-name");
});
expect(testRouter.push).not.toHaveBeenCalled();
});