CFE-17 debug test of this feature
This commit is contained in:
@@ -5,8 +5,8 @@ import PreviousOperatorData from "../../PreviousOperatorData";
|
||||
describe("PreviousOperatorData Component From call history", () => {
|
||||
describe("Rendering", () => {
|
||||
const historyItem = {
|
||||
operator_name: "test name",
|
||||
answer_date: "test date"
|
||||
operator_full_name: "test name",
|
||||
created_at: "2023-11-19T10:32:48.000000Z"
|
||||
}
|
||||
it("operator name rendered", () => {
|
||||
render(<MockAppWithProviders><PreviousOperatorData historyItem={historyItem}/></MockAppWithProviders>);
|
||||
@@ -15,7 +15,7 @@ describe("PreviousOperatorData Component From call history", () => {
|
||||
});
|
||||
it("operator answer date rendered", () => {
|
||||
render(<MockAppWithProviders><PreviousOperatorData historyItem={historyItem}/></MockAppWithProviders>);
|
||||
const operatorAnswerDate = screen.queryByText("test date");
|
||||
const operatorAnswerDate = screen.queryByText("14:02:48 | 1402/08/28");
|
||||
expect(operatorAnswerDate).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user