 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>
		
			
				
	
	
		
			58 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			58 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|   "name": "write-file-atomic",
 | |
|   "version": "5.0.1",
 | |
|   "description": "Write files in an atomic fashion w/configurable ownership",
 | |
|   "main": "./lib/index.js",
 | |
|   "scripts": {
 | |
|     "test": "tap",
 | |
|     "posttest": "npm run lint",
 | |
|     "lint": "eslint \"**/*.js\"",
 | |
|     "postlint": "template-oss-check",
 | |
|     "lintfix": "npm run lint -- --fix",
 | |
|     "snap": "tap",
 | |
|     "template-oss-apply": "template-oss-apply --force"
 | |
|   },
 | |
|   "repository": {
 | |
|     "type": "git",
 | |
|     "url": "https://github.com/npm/write-file-atomic.git"
 | |
|   },
 | |
|   "keywords": [
 | |
|     "writeFile",
 | |
|     "atomic"
 | |
|   ],
 | |
|   "author": "GitHub Inc.",
 | |
|   "license": "ISC",
 | |
|   "bugs": {
 | |
|     "url": "https://github.com/npm/write-file-atomic/issues"
 | |
|   },
 | |
|   "homepage": "https://github.com/npm/write-file-atomic",
 | |
|   "dependencies": {
 | |
|     "imurmurhash": "^0.1.4",
 | |
|     "signal-exit": "^4.0.1"
 | |
|   },
 | |
|   "devDependencies": {
 | |
|     "@npmcli/eslint-config": "^4.0.0",
 | |
|     "@npmcli/template-oss": "4.14.1",
 | |
|     "tap": "^16.0.1"
 | |
|   },
 | |
|   "files": [
 | |
|     "bin/",
 | |
|     "lib/"
 | |
|   ],
 | |
|   "engines": {
 | |
|     "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
 | |
|   },
 | |
|   "templateOSS": {
 | |
|     "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
 | |
|     "windowsCI": false,
 | |
|     "version": "4.14.1",
 | |
|     "publish": "true"
 | |
|   },
 | |
|   "tap": {
 | |
|     "nyc-arg": [
 | |
|       "--exclude",
 | |
|       "tap-snapshots/**"
 | |
|     ]
 | |
|   }
 | |
| }
 |