Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6ee9763

Browse files
author
Blink Assistant
committed
feat: add comprehensive Jest unit tests for CreateWorkspacePageExperimental and DynamicParameter
- Add comprehensive test suite for CreateWorkspacePageExperimental.tsx covering: * WebSocket integration and dynamic parameter handling * All parameter types (string, number, boolean, list) * External authentication flows * Auto-creation mode functionality * Form submission and error handling * URL parameter pre-filling * Template presets * Navigation and routing - Add comprehensive test suite for DynamicParameter.tsx covering: * All form input types (input, textarea, select, radio, checkbox, switch, slider, tags, multiselect) * Parameter validation and error states * Preset and autofill behavior * Accessibility features * Debounced input handling * Edge cases and error conditions - Implement mock WebSocket with realistic behavior simulation - Create detailed parameter mocks for all supported types - Follow existing codebase patterns for API mocking - Include comprehensive user interaction testing - Cover async operations and error scenarios These tests provide thorough coverage for regression testing and future development of the experimental workspace creation functionality.
1 parent 48bb534 commit 6ee9763

File tree

2 files changed

+1636
-0
lines changed

2 files changed

+1636
-0
lines changed

0 commit comments

Comments
 (0)