replace websocket with sockatrice

This commit is contained in:
seavor 2026-05-07 15:54:59 -05:00
parent 68050b56bc
commit e2319c84db
218 changed files with 89 additions and 9100 deletions

View file

@ -3,7 +3,7 @@ import { Provider } from 'react-redux';
import { configureStore, Reducer } from '@reduxjs/toolkit';
import { WebClientContext } from '../hooks/useWebClient';
import type { WebClient } from '../websocket';
import type { WebClient } from '@app/websocket';
import { createMockWebClient } from './mockWebClient';
// Minimal Provider wrapper for hook-only tests. Use this instead of

View file

@ -27,7 +27,7 @@ export function createMockWebClient() {
accountEdit: vi.fn(),
accountPassword: vi.fn(),
accountImage: vi.fn(),
listUsers: vi.fn(),
message: vi.fn(),
},
rooms: {
joinRoom: vi.fn(),

View file

@ -37,7 +37,7 @@ const testTheme = createTheme({
});
import { WebClientContext } from '../hooks/useWebClient';
import type { WebClient } from '../websocket';
import type { WebClient } from '@app/websocket';
import rootReducer from '../store/rootReducer';
import { ToastProvider } from '../components/Toast/ToastContext';
import { storeMiddlewareOptions } from '../store/store';