0

Use the same fake user in test

This commit is contained in:
Gabe Kangas 2023-04-05 20:20:21 -07:00
parent 0e2a8c7717
commit 79b6e56cd7
No known key found for this signature in database
GPG Key ID: 4345B2060657F330

View File

@ -26,7 +26,7 @@ import chatServiceMockOf from '../../../services/chat-service.mock';
import serverStatusServiceMockOf from '../../../services/status-service.mock';
import { VideoSettingsServiceContext } from '../../../services/video-settings-service';
import videoSettingsServiceMockOf from '../../../services/video-settings-service.mock';
import { grootUser, spidermanUser } from '../../../interfaces/user.fixture';
import { spidermanUser } from '../../../interfaces/user.fixture';
import { exampleChatHistory } from '../../../interfaces/chat-message.fixture';
export default {
@ -80,7 +80,7 @@ const initializeDefaultState = (mutableState: MutableSnapshot) => {
const ClientConfigServiceMock = clientConfigServiceMockOf(defaultClientConfig);
const ChatServiceMock = chatServiceMockOf(exampleChatHistory, {
...grootUser,
...spidermanUser,
accessToken: 'some fake token',
});
const DefaultServerStatusServiceMock = serverStatusServiceMockOf(defaultServerStatus);