diff --git a/src/app/(marketing)/home-content-v14.test.tsx b/src/app/(marketing)/home-content-v14.test.tsx deleted file mode 100644 index cad4c49..0000000 --- a/src/app/(marketing)/home-content-v14.test.tsx +++ /dev/null @@ -1,138 +0,0 @@ -import { describe, it, expect, jest } from '@jest/globals'; -import { render, screen } from '@testing-library/react'; -import '@testing-library/jest-dom'; -import HomeContentV14 from './home-content-v14'; - -jest.mock('framer-motion', () => ({ - motion: { - div: ({ children, initial, animate, className, style, ...props }: any) => ( -
{children}
- ), - span: ({ children, className, ...props }: any) => ( - {children} - ), - a: ({ children, href, className, ...props }: any) => ( - {children} - ), - }, - useInView: jest.fn(() => true), - AnimatePresence: ({ children }: any) => <>{children}>, -})); - -jest.mock('next/image', () => ({ - __esModule: true, - default: ({ src, alt, className }: any) => ( - // eslint-disable-next-line @next/next/no-img-element -{children}
+ ), + span: ({ children, className, ...props }: any) => ( + {children} + ), + a: ({ children, href, className, ...props }: any) => ( + {children} + ), + }, + useInView: jest.fn(() => true), + AnimatePresence: ({ children }: any) => <>{children}>, +})); + +jest.mock('next/image', () => ({ + __esModule: true, + default: ({ src, alt, className }: any) => ( + // eslint-disable-next-line @next/next/no-img-element ++ {desc} +
++ {insight.desc} +
++ {quoteText} ++ {(quoteName || quoteRole) && ( +
{earlyDesc}
+{earlyDesc}
+ ++ )} ++ {spotlightTestimonial.quote} +
+ {(spotlightTestimonial.author || spotlightTestimonial.name) && ( + + )} +
+ {item.excerpt} +
+