@@ -58,8 +58,6 @@ export const DefaultTechDocsHome = (props: TechDocsIndexPageProps) => {
|
||||
} = props;
|
||||
const Wrapper: React.FC<{
|
||||
children: React.ReactNode;
|
||||
title?: string;
|
||||
subtitle?: string;
|
||||
}> = PageWrapper ? PageWrapper : TechDocsPageWrapper;
|
||||
const Header: React.FC =
|
||||
CustomHeader ||
|
||||
|
||||
@@ -135,7 +135,7 @@ describe('TechDocsCustomHome', () => {
|
||||
screen.queryByText('Discover documentation in your ecosystem.'),
|
||||
).not.toBeInTheDocument();
|
||||
});
|
||||
it('should render title and subtitle', async () => {
|
||||
it('should render CustomPageWrapper', async () => {
|
||||
const tabsConfig = [
|
||||
{
|
||||
label: 'First Tab',
|
||||
|
||||
Reference in New Issue
Block a user