- 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>
30 lines
1.4 KiB
TypeScript
30 lines
1.4 KiB
TypeScript
export { MemoryCookieStore, type MemoryCookieStoreIndex } from '../memstore';
|
|
export { pathMatch } from '../pathMatch';
|
|
export { permuteDomain } from '../permuteDomain';
|
|
export { getPublicSuffix, type GetPublicSuffixOptions, } from '../getPublicSuffix';
|
|
export { Store } from '../store';
|
|
export { ParameterError } from '../validators';
|
|
export { version } from '../version';
|
|
export { type Callback, type ErrorCallback, type Nullable } from '../utils';
|
|
export { canonicalDomain } from './canonicalDomain';
|
|
export { PrefixSecurityEnum, type SerializedCookie, type SerializedCookieJar, } from './constants';
|
|
export { Cookie, type CreateCookieOptions, type ParseCookieOptions, } from './cookie';
|
|
export { cookieCompare } from './cookieCompare';
|
|
export { CookieJar, type CreateCookieJarOptions, type GetCookiesOptions, type SetCookieOptions, } from './cookieJar';
|
|
export { defaultPath } from './defaultPath';
|
|
export { domainMatch } from './domainMatch';
|
|
export { formatDate } from './formatDate';
|
|
export { parseDate } from './parseDate';
|
|
export { permutePath } from './permutePath';
|
|
import { Cookie, ParseCookieOptions } from './cookie';
|
|
/**
|
|
* {@inheritDoc Cookie.parse}
|
|
* @public
|
|
*/
|
|
export declare function parse(str: string, options?: ParseCookieOptions): Cookie | undefined;
|
|
/**
|
|
* {@inheritDoc Cookie.fromJSON}
|
|
* @public
|
|
*/
|
|
export declare function fromJSON(str: unknown): Cookie | undefined;
|