- 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>
27 lines
1.5 KiB
JavaScript
27 lines
1.5 KiB
JavaScript
import cjsModule from './index.js';
|
|
|
|
export const BOLD_WEIGHT = cjsModule.BOLD_WEIGHT;
|
|
export const DIM_COLOR = cjsModule.DIM_COLOR;
|
|
export const EXPECTED_COLOR = cjsModule.EXPECTED_COLOR;
|
|
export const INVERTED_COLOR = cjsModule.INVERTED_COLOR;
|
|
export const RECEIVED_COLOR = cjsModule.RECEIVED_COLOR;
|
|
export const SERIALIZABLE_PROPERTIES = cjsModule.SERIALIZABLE_PROPERTIES;
|
|
export const SUGGEST_TO_CONTAIN_EQUAL = cjsModule.SUGGEST_TO_CONTAIN_EQUAL;
|
|
export const diff = cjsModule.diff;
|
|
export const ensureActualIsNumber = cjsModule.ensureActualIsNumber;
|
|
export const ensureExpectedIsNonNegativeInteger = cjsModule.ensureExpectedIsNonNegativeInteger;
|
|
export const ensureExpectedIsNumber = cjsModule.ensureExpectedIsNumber;
|
|
export const ensureNoExpected = cjsModule.ensureNoExpected;
|
|
export const ensureNumbers = cjsModule.ensureNumbers;
|
|
export const getLabelPrinter = cjsModule.getLabelPrinter;
|
|
export const highlightTrailingWhitespace = cjsModule.highlightTrailingWhitespace;
|
|
export const matcherErrorMessage = cjsModule.matcherErrorMessage;
|
|
export const matcherHint = cjsModule.matcherHint;
|
|
export const pluralize = cjsModule.pluralize;
|
|
export const printDiffOrStringify = cjsModule.printDiffOrStringify;
|
|
export const printExpected = cjsModule.printExpected;
|
|
export const printReceived = cjsModule.printReceived;
|
|
export const printWithType = cjsModule.printWithType;
|
|
export const replaceMatchedToAsymmetricMatcher = cjsModule.replaceMatchedToAsymmetricMatcher;
|
|
export const stringify = cjsModule.stringify;
|