mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
Merge branch 'codex/feature/spam-blocker-challenge'
# Conflicts: # package.json # src/components/settings-modal/advanced-settings/__tests__/advanced-settings.test.tsx # src/components/settings-modal/advanced-settings/advanced-settings.tsx # src/stores/__tests__/publish-stores.test.ts # yarn.lock
This commit is contained in:
@@ -82,6 +82,7 @@ describe('usePublishPost', () => {
|
||||
spoiler: true,
|
||||
title: 'Hello world',
|
||||
});
|
||||
expect('subplebbitAddress' in latestValue.publishPostOptions).toBe(false);
|
||||
expect(typeof latestValue.publishPostOptions.onChallengeVerification).toBe('function');
|
||||
expect(typeof latestValue.publishPostOptions.onError).toBe('function');
|
||||
});
|
||||
|
||||
@@ -112,6 +112,7 @@ describe('usePublishReply', () => {
|
||||
quotedCids: ['quoted-cid'],
|
||||
spoiler: true,
|
||||
});
|
||||
expect('subplebbitAddress' in (testState.lastPublishOptions || {})).toBe(false);
|
||||
});
|
||||
|
||||
it('resolves same-board external quote references before triggering publish', async () => {
|
||||
|
||||
Reference in New Issue
Block a user