fix(pending-post): return to board after abandoned challenge

This commit is contained in:
Tommaso Casaburi
2026-05-23 17:24:22 +07:00
parent f4965ee678
commit e95dcb8af5
5 changed files with 88 additions and 12 deletions
@@ -904,7 +904,7 @@ describe('PostForm', () => {
await flushEffects();
expect(testState.resetPublishPostOptionsMock).toHaveBeenCalledTimes(1);
expect(testState.navigateMock).toHaveBeenCalledWith('/pending/7');
expect(testState.navigateMock).toHaveBeenCalledWith('/pending/7', { state: { boardPath: 'mu' } });
});
it('resets the reply form after a completed reply publish', async () => {