 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>
		
			
				
	
	
		
			63 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			63 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|   "name": "make-error",
 | |
|   "version": "1.3.6",
 | |
|   "main": "index.js",
 | |
|   "license": "ISC",
 | |
|   "description": "Make your own error types!",
 | |
|   "keywords": [
 | |
|     "create",
 | |
|     "custom",
 | |
|     "derive",
 | |
|     "error",
 | |
|     "errors",
 | |
|     "extend",
 | |
|     "extending",
 | |
|     "extension",
 | |
|     "factory",
 | |
|     "inherit",
 | |
|     "make",
 | |
|     "subclass"
 | |
|   ],
 | |
|   "homepage": "https://github.com/JsCommunity/make-error",
 | |
|   "bugs": "https://github.com/JsCommunity/make-error/issues",
 | |
|   "author": "Julien Fontanet <julien.fontanet@isonoe.net>",
 | |
|   "repository": {
 | |
|     "type": "git",
 | |
|     "url": "git://github.com/JsCommunity/make-error.git"
 | |
|   },
 | |
|   "devDependencies": {
 | |
|     "browserify": "^16.2.3",
 | |
|     "eslint": "^6.5.1",
 | |
|     "eslint-config-prettier": "^6.4.0",
 | |
|     "eslint-config-standard": "^14.1.0",
 | |
|     "eslint-plugin-import": "^2.14.0",
 | |
|     "eslint-plugin-node": "^10.0.0",
 | |
|     "eslint-plugin-promise": "^4.0.1",
 | |
|     "eslint-plugin-standard": "^4.0.0",
 | |
|     "husky": "^3.0.9",
 | |
|     "jest": "^24",
 | |
|     "prettier": "^1.14.3",
 | |
|     "uglify-js": "^3.3.2"
 | |
|   },
 | |
|   "jest": {
 | |
|     "testEnvironment": "node"
 | |
|   },
 | |
|   "scripts": {
 | |
|     "dev-test": "jest --watch",
 | |
|     "format": "prettier --write '**'",
 | |
|     "prepublishOnly": "mkdir -p dist && browserify -s makeError index.js | uglifyjs -c > dist/make-error.js",
 | |
|     "pretest": "eslint --ignore-path .gitignore .",
 | |
|     "test": "jest"
 | |
|   },
 | |
|   "files": [
 | |
|     "dist/",
 | |
|     "index.js",
 | |
|     "index.d.ts"
 | |
|   ],
 | |
|   "husky": {
 | |
|     "hooks": {
 | |
|       "commit-msg": "npm run test"
 | |
|     }
 | |
|   }
 | |
| }
 |