 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>
		
			
				
	
	
		
			73 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			73 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|   "name": "babel-plugin-istanbul",
 | |
|   "version": "7.0.0",
 | |
|   "author": "Thai Pangsakulyanont @dtinth",
 | |
|   "license": "BSD-3-Clause",
 | |
|   "description": "A babel plugin that adds istanbul instrumentation to ES6 code",
 | |
|   "main": "lib/index.js",
 | |
|   "files": [
 | |
|     "lib"
 | |
|   ],
 | |
|   "dependencies": {
 | |
|     "@babel/helper-plugin-utils": "^7.0.0",
 | |
|     "@istanbuljs/load-nyc-config": "^1.0.0",
 | |
|     "@istanbuljs/schema": "^0.1.3",
 | |
|     "istanbul-lib-instrument": "^6.0.2",
 | |
|     "test-exclude": "^6.0.0"
 | |
|   },
 | |
|   "devDependencies": {
 | |
|     "@babel/cli": "^7.24.1",
 | |
|     "@babel/core": "^7.24.1",
 | |
|     "@babel/plugin-transform-block-scoping": "^7.24.1",
 | |
|     "@babel/plugin-transform-modules-commonjs": "^7.24.1",
 | |
|     "@babel/register": "^7.23.7",
 | |
|     "chai": "^4.2.0",
 | |
|     "coveralls": "^3.1.1",
 | |
|     "cross-env": "^7.0.3",
 | |
|     "mocha": "^6.2.2",
 | |
|     "nyc": "^15.0.0",
 | |
|     "pmock": "^0.2.3",
 | |
|     "standard": "^14.3.1"
 | |
|   },
 | |
|   "scripts": {
 | |
|     "coverage": "nyc report --reporter=text-lcov | coveralls",
 | |
|     "release": "babel src --out-dir lib",
 | |
|     "pretest": "standard && npm run release",
 | |
|     "test": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha --timeout 5000 test/*.js",
 | |
|     "prepublish": "npm test && npm run release"
 | |
|   },
 | |
|   "standard": {
 | |
|     "ignore": [
 | |
|       "fixtures/*.js"
 | |
|     ]
 | |
|   },
 | |
|   "repository": {
 | |
|     "type": "git",
 | |
|     "url": "git+https://github.com/istanbuljs/babel-plugin-istanbul.git"
 | |
|   },
 | |
|   "keywords": [
 | |
|     "istanbul",
 | |
|     "babel",
 | |
|     "plugin",
 | |
|     "instrumentation"
 | |
|   ],
 | |
|   "nyc": {
 | |
|     "include": [
 | |
|       "src/*.js",
 | |
|       "fixtures/should-cover.js"
 | |
|     ],
 | |
|     "require": [
 | |
|       "@babel/register"
 | |
|     ],
 | |
|     "sourceMap": false,
 | |
|     "instrument": false
 | |
|   },
 | |
|   "bugs": {
 | |
|     "url": "https://github.com/istanbuljs/babel-plugin-istanbul/issues"
 | |
|   },
 | |
|   "homepage": "https://github.com/istanbuljs/babel-plugin-istanbul#readme",
 | |
|   "engines": {
 | |
|     "node": ">=12"
 | |
|   }
 | |
| }
 |