diff --git a/app/layout.massive-scaling.test.tsx b/app/layout.massive-scaling.test.tsx new file mode 100644 index 000000000..3ab34a8d9 --- /dev/null +++ b/app/layout.massive-scaling.test.tsx @@ -0,0 +1,92 @@ +import React from 'react'; +import { render, screen } from '@testing-library/react'; +import { describe, expect, it, vi } from 'vitest'; +import RootLayout from './layout'; + +vi.mock('next/font/google', () => ({ + Inter: () => ({ className: 'inter-font' }), +})); + +vi.mock('@vercel/analytics/next', () => ({ + Analytics: () =>
, +})); + +vi.mock('./components/navbar', () => ({ + default: () =>