 aacb45156b
			
		
	
	aacb45156b
	
	
	
		
			
			- 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>
		
			
				
	
	
		
			39 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import type { GlobalShim, ValueOf } from './types.js';
 | |
| export declare const TsRunner: {
 | |
|     readonly Node: "node";
 | |
|     readonly Bun: "bun";
 | |
|     readonly TsNode: "ts-node";
 | |
|     readonly EsbuildRegister: "esbuild-register";
 | |
|     readonly EsbuildRunner: "esbuild-runner";
 | |
|     readonly OXC: "oxc";
 | |
|     readonly SWC: "swc";
 | |
|     readonly TSX: "tsx";
 | |
| };
 | |
| export type TsRunner = ValueOf<typeof TsRunner>;
 | |
| export declare const TS_ESM_PARTIAL_SUPPORTED: boolean;
 | |
| export declare const MTS_SUPPORTED: boolean;
 | |
| export declare const MODULE_REGISTER_SUPPORTED: boolean;
 | |
| export declare const STRIP_TYPES_NODE_VERSION = "22.6";
 | |
| export declare const TRANSFORM_TYPES_NODE_VERSION = "22.7";
 | |
| export declare const FEATURE_TYPESCRIPT_NODE_VERSION = "22.10";
 | |
| export declare const DEFAULT_TYPES_NODE_VERSION = "23.6";
 | |
| export declare const STRIP_TYPES_FLAG = "--experimental-strip-types";
 | |
| export declare const TRANSFORM_TYPES_FLAG = "--experimental-transform-types";
 | |
| export declare const NO_STRIP_TYPES_FLAG = "--no-experimental-strip-types";
 | |
| export declare const NODE_OPTIONS: string[];
 | |
| export declare const NO_STRIP_TYPES: boolean;
 | |
| export declare const DEFAULT_TIMEOUT: number | undefined;
 | |
| export declare const DEFAULT_EXEC_ARGV: string[];
 | |
| export declare const DEFAULT_TS_RUNNER: TsRunner | undefined;
 | |
| export declare const DEFAULT_GLOBAL_SHIMS: boolean;
 | |
| export declare const DEFAULT_GLOBAL_SHIMS_PRESET: GlobalShim[];
 | |
| export declare const IMPORT_FLAG = "--import";
 | |
| export declare const REQUIRE_FLAG = "--require";
 | |
| export declare const REQUIRE_ABBR_FLAG = "-r";
 | |
| export declare const REQUIRE_FLAGS: Set<string>;
 | |
| export declare const LOADER_FLAG = "--loader";
 | |
| export declare const EXPERIMENTAL_LOADER_FLAG = "--experimental-loader";
 | |
| export declare const LOADER_FLAGS: Set<string>;
 | |
| export declare const IMPORT_FLAG_SUPPORTED: boolean;
 | |
| export declare const INT32_BYTES = 4;
 |