- Install Jest for unit testing with React Testing Library - Install Playwright for end-to-end testing - Configure Jest with proper TypeScript support and module mapping - Create test setup files and utilities for both unit and e2e tests Components: * Jest configuration with coverage thresholds * Playwright configuration with browser automation * Unit tests for LoginForm, AuthContext, and useSocketIO hook * E2E tests for authentication, dashboard, and agents workflows * GitHub Actions workflow for automated testing * Mock data and API utilities for consistent testing * Test documentation with best practices Testing features: - Unit tests with 70% coverage threshold - E2E tests with API mocking and user journey testing - CI/CD integration for automated test runs - Cross-browser testing support with Playwright - Authentication system testing end-to-end 🚀 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
47 lines
2.1 KiB
XML
47 lines
2.1 KiB
XML
<component name="ProjectCodeStyleConfiguration">
|
|
<code_scheme name="Project" version="173">
|
|
<HTMLCodeStyleSettings>
|
|
<option name="HTML_SPACE_INSIDE_EMPTY_TAG" value="true" />
|
|
<option name="HTML_ENFORCE_QUOTES" value="true" />
|
|
</HTMLCodeStyleSettings>
|
|
<JSCodeStyleSettings version="0">
|
|
<option name="FORCE_SEMICOLON_STYLE" value="true" />
|
|
<option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
|
|
<option name="FORCE_QUOTE_STYlE" value="true" />
|
|
<option name="ENFORCE_TRAILING_COMMA" value="Remove" />
|
|
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
|
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
|
</JSCodeStyleSettings>
|
|
<TypeScriptCodeStyleSettings version="0">
|
|
<option name="FORCE_SEMICOLON_STYLE" value="true" />
|
|
<option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
|
|
<option name="FORCE_QUOTE_STYlE" value="true" />
|
|
<option name="ENFORCE_TRAILING_COMMA" value="Remove" />
|
|
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
|
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
|
</TypeScriptCodeStyleSettings>
|
|
<VueCodeStyleSettings>
|
|
<option name="INTERPOLATION_NEW_LINE_AFTER_START_DELIMITER" value="false" />
|
|
<option name="INTERPOLATION_NEW_LINE_BEFORE_END_DELIMITER" value="false" />
|
|
</VueCodeStyleSettings>
|
|
<codeStyleSettings language="HTML">
|
|
<option name="SOFT_MARGINS" value="100" />
|
|
<indentOptions>
|
|
<option name="CONTINUATION_INDENT_SIZE" value="4" />
|
|
</indentOptions>
|
|
</codeStyleSettings>
|
|
<codeStyleSettings language="JavaScript">
|
|
<option name="SOFT_MARGINS" value="100" />
|
|
</codeStyleSettings>
|
|
<codeStyleSettings language="TypeScript">
|
|
<option name="SOFT_MARGINS" value="100" />
|
|
</codeStyleSettings>
|
|
<codeStyleSettings language="Vue">
|
|
<option name="SOFT_MARGINS" value="100" />
|
|
<indentOptions>
|
|
<option name="INDENT_SIZE" value="4" />
|
|
<option name="TAB_SIZE" value="4" />
|
|
</indentOptions>
|
|
</codeStyleSettings>
|
|
</code_scheme>
|
|
</component> |