diff --git a/src/textbooks/Textbooks.jsx b/src/textbooks/Textbooks.jsx index 9f95baee72..6f061a17ed 100644 --- a/src/textbooks/Textbooks.jsx +++ b/src/textbooks/Textbooks.jsx @@ -63,7 +63,7 @@ const Textbooks = ({ courseId }) => { <> - {courseDetails?.name} | {intl.formatMessage(messages.headingTitle)} + {`${courseDetails?.name} | ${intl.formatMessage(messages.headingTitle)}`} diff --git a/src/textbooks/data/api.test.js b/src/textbooks/data/api.test.js index 4947d71a5b..1f773cb23d 100644 --- a/src/textbooks/data/api.test.js +++ b/src/textbooks/data/api.test.js @@ -1,6 +1,7 @@ import MockAdapter from 'axios-mock-adapter'; import { getAuthenticatedHttpClient } from '@edx/frontend-platform/auth'; import { initializeMockApp } from '@edx/frontend-platform'; + import { textbooksMock } from 'CourseAuthoring/textbooks/__mocks__'; import { getTextbooks,