Skip to content

Commit

Permalink
test: Update test chatbot mock
Browse files Browse the repository at this point in the history
  • Loading branch information
tjtanjin committed Oct 3, 2024
1 parent 002d041 commit b4e68c1
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { BotRefsProvider } from '../../src/context/BotRefsContext';
import { BotStatesProvider } from '../../src/context/BotStatesContext';
import { PathsProvider } from '../../src/context/PathsContext';
import { MessagesProvider } from '../../src/context/MessagesContext';
import { ChatBotProviderContextType } from '../../src/context/ChatBotProvider';
import { ChatBotProviderContextType } from '../../src/context/ChatBotContext';
import { Settings } from '../../src/types/Settings';
import { Styles } from '../../src/types/Styles';
import { DefaultStyles } from '../../src/constants/internal/DefaultStyles';
Expand Down
2 changes: 1 addition & 1 deletion __tests__/hooks/useAudioInternal.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useAudioInternal } from "../../src/hooks/internal/useAudioInternal";
import { useRcbEventInternal } from "../../src/hooks/internal/useRcbEventInternal";
import { RcbEvent } from "../../src/constants/RcbEvent";

import { TestChatBotProvider } from "../__mocks__/TestChatBotProvider";
import { TestChatBotProvider } from "../__mocks__/TestChatBotContext";
import { MockDefaultSettings } from "../__mocks__/constants";

// mocks internal hooks
Expand Down
2 changes: 1 addition & 1 deletion __tests__/hooks/useChatHistoryInternal.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useChatHistoryInternal } from "../../src/hooks/internal/useChatHistoryI
import { useRcbEventInternal } from "../../src/hooks/internal/useRcbEventInternal";
import { RcbEvent } from "../../src/constants/RcbEvent";

import { TestChatBotProvider } from "../__mocks__/TestChatBotProvider";
import { TestChatBotProvider } from "../__mocks__/TestChatBotContext";
import { MockDefaultSettings } from "../__mocks__/constants";

// mocks internal hooks and services
Expand Down
2 changes: 1 addition & 1 deletion __tests__/hooks/useChatWindowInternal.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useChatWindowInternal } from "../../src/hooks/internal/useChatWindowInt
import { useRcbEventInternal } from "../../src/hooks/internal/useRcbEventInternal";
import { RcbEvent } from "../../src/constants/RcbEvent";

import { TestChatBotProvider } from "../__mocks__/TestChatBotProvider";
import { TestChatBotProvider } from "../__mocks__/TestChatBotContext";
import { MockDefaultSettings } from "../__mocks__/constants";

// mocks internal hooks and services
Expand Down
2 changes: 1 addition & 1 deletion __tests__/hooks/useNotificationsInternal.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useNotificationInternal } from "../../src/hooks/internal/useNotificatio
import { useRcbEventInternal } from "../../src/hooks/internal/useRcbEventInternal";
import { RcbEvent } from "../../src/constants/RcbEvent";

import { TestChatBotProvider } from "../__mocks__/TestChatBotProvider";
import { TestChatBotProvider } from "../__mocks__/TestChatBotContext";
import { MockDefaultSettings } from "../__mocks__/constants";

// mocks internal hooks and services
Expand Down
2 changes: 1 addition & 1 deletion __tests__/hooks/useVoiceInternal.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useVoiceInternal } from "../../src/hooks/internal/useVoiceInternal";
import { useRcbEventInternal } from "../../src/hooks/internal/useRcbEventInternal";
import { RcbEvent } from "../../src/constants/RcbEvent";

import { TestChatBotProvider } from "../__mocks__/TestChatBotProvider";
import { TestChatBotProvider } from "../__mocks__/TestChatBotContext";
import { MockDefaultSettings } from "../__mocks__/constants";

// mocks internal hooks and services
Expand Down

0 comments on commit b4e68c1

Please sign in to comment.