diff --git a/app/generator/GeneratorClient.massive-scaling.test.tsx b/app/generator/GeneratorClient.massive-scaling.test.tsx
new file mode 100644
index 000000000..3fcb4573e
--- /dev/null
+++ b/app/generator/GeneratorClient.massive-scaling.test.tsx
@@ -0,0 +1,181 @@
+import { fireEvent, render, screen } from '@testing-library/react';
+import { describe, expect, it, vi } from 'vitest';
+import React from 'react';
+import { GeneratorClient } from './GeneratorClient';
+import type { ImportedData } from './utils/githubMapper';
+
+vi.mock('./components/EditorPanel', () => ({
+ EditorPanel: ({
+ onNameChange,
+ onDescriptionChange,
+ onTechsChange,
+ onSocialsChange,
+ onSocialLinkChange,
+ onGithubUsernameChange,
+ onShowCommitPulseChange,
+ onCommitPulseAccentChange,
+ onApplyImport,
+ }: {
+ onNameChange: (value: string) => void;
+ onDescriptionChange: (value: string) => void;
+ onTechsChange: (ids: string[]) => void;
+ onSocialsChange: (ids: string[]) => void;
+ onSocialLinkChange: (id: string, url: string) => void;
+ onGithubUsernameChange: (value: string) => void;
+ onShowCommitPulseChange: (value: boolean) => void;
+ onCommitPulseAccentChange: (value: string) => void;
+ onApplyImport: (data: ImportedData) => void;
+ }) => (
+
+
+
+
+
+
+
+
+
+ ),
+}));
+
+vi.mock('./components/PreviewPanel', () => ({
+ PreviewPanel: ({ markdown }: { markdown: string }) => (
+
+ ),
+}));
+
+describe('GeneratorClient component performance and high volume data bounds', () => {
+ it('should process large arrays of tech and social items without throwing errors', () => {
+ render();
+
+ expect(screen.getByTestId('editor-panel')).toBeInTheDocument();
+ expect(screen.getByTestId('preview-panel')).toBeInTheDocument();
+
+ const triggerBtn = screen.getByTestId('btn-huge-change');
+ expect(() => {
+ fireEvent.click(triggerBtn);
+ }).not.toThrow();
+
+ const previewContent = screen.getByTestId('preview-panel').textContent;
+ expect(previewContent).toBeDefined();
+ });
+
+ it('should handle large string lengths on name and description properties', () => {
+ render();
+
+ const editorPanel = screen.getByTestId('editor-panel');
+ expect(editorPanel).toBeInTheDocument();
+
+ expect(() => {
+ const { unmount } = render();
+ unmount();
+ }).not.toThrow();
+ });
+
+ it('should maintain standard layout constraints and flex configuration', () => {
+ const { container } = render();
+
+ const firstDiv = container.firstChild as HTMLElement;
+ expect(firstDiv).toBeInTheDocument();
+ expect(firstDiv.className).toContain('flex');
+ expect(firstDiv.className).toContain('flex-col');
+ });
+
+ it('should execute rendering cycle within acceptable latency limits', () => {
+ const start = performance.now();
+ render();
+ const end = performance.now();
+
+ const renderDuration = end - start;
+ expect(renderDuration).toBeLessThan(1000);
+ });
+
+ it('should complete multiple render and unmount iterations consecutively', () => {
+ expect(() => {
+ for (let i = 0; i < 25; i++) {
+ const { unmount } = render();
+ unmount();
+ }
+ }).not.toThrow();
+ });
+});