Merge branch 'codex/fix/pending-escape-board-redirect'

# Conflicts:
#	src/components/post-form/post-form.tsx
This commit is contained in:
Tommaso Casaburi
2026-05-23 17:26:47 +07:00
5 changed files with 88 additions and 12 deletions
@@ -906,7 +906,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('redirects new posts to the board index when nonoko is used', async () => {