 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>
		
			
				
	
	
		
			31 lines
		
	
	
		
			794 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			794 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| # `babel-preset-current-node-syntax`
 | |
| 
 | |
| > A Babel preset that enables parsing of proposals supported by the current Node.js version.
 | |
| 
 | |
| ## Installation
 | |
| 
 | |
| If you are using yarn:
 | |
| ```
 | |
| yarn add --dev babel-preset-current-node-syntax
 | |
| ```
 | |
| 
 | |
| If you are using npm:
 | |
| ```
 | |
| npm install --save-dev babel-preset-current-node-syntax
 | |
| ```
 | |
| 
 | |
| ## Contributing
 | |
| 
 | |
| PRs are welcome! The codebase is so small that I didn't setup a linter, but try
 | |
| to match the style of the existing code.
 | |
| 
 | |
| You can run tests with the following command:
 | |
| ```
 | |
| yarn node test/index.js
 | |
| ```
 | |
| 
 | |
| The `test/fixtures.json` file contains a bunch of syntax tests, alongside with
 | |
| the minimum supported node version for each of them. Babel should throw on
 | |
| older versions, without support for that given syntax.
 | |
| All the tests are run using `@babel/parser@7.0.0`.
 |