 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>
		
			
				
	
	
		
			23 lines
		
	
	
		
			946 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			946 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ## istanbul-lib-instrument
 | |
| 
 | |
| [](https://travis-ci.org/istanbuljs/istanbul-lib-instrument)
 | |
| 
 | |
| Istanbul instrumenter library.
 | |
| 
 | |
| Version 1.1.x now implements instrumentation using `Babel`. The implementation is inspired
 | |
| by prior art by @dtinth as demonstrated in the `__coverage__` babel plugin.
 | |
| 
 | |
| It provides 2 "modes" of instrumentation.
 | |
| 
 | |
| -   The old API that is mostly unchanged (except for incompatibilities noted) and
 | |
|     performs the instrumentation using babel as a library.
 | |
| 
 | |
| -   A `programVisitor` function for the Babel AST that can be used by a Babel plugin
 | |
|     to emit instrumentation for ES6 code directly without any source map
 | |
|     processing. This is the preferred path for babel users. The Babel plugin is
 | |
|     called `babel-plugin-istanbul`.
 | |
| 
 | |
| Incompatibilities and changes to instrumentation behavior can be found in
 | |
| [v0-changes.md](v0-changes.md).
 | |
| 
 |