mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(tests): mock board-buttons and style-selector to avoid Solana import crash
This commit is contained in:
@@ -37,6 +37,10 @@ vi.mock('../../version', () => ({
|
||||
default: () => null,
|
||||
}));
|
||||
|
||||
vi.mock('../../../style-selector/style-selector', () => ({
|
||||
default: () => null,
|
||||
}));
|
||||
|
||||
/** Minimal component that subscribes to feed view settings (like Board) to verify re-renders. */
|
||||
const BoardModeIndicator = () => {
|
||||
const enableInfiniteScroll = useFeedViewSettingsStore((state) => state.enableInfiniteScroll);
|
||||
|
||||
Reference in New Issue
Block a user