mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
Merge branch 'codex/fix/pending-escape-board-redirect'
# Conflicts: # src/components/post-form/post-form.tsx
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user