Set up comprehensive frontend testing infrastructure
- 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>
This commit is contained in:
42
frontend/node_modules/deepmerge/package.json
generated
vendored
Normal file
42
frontend/node_modules/deepmerge/package.json
generated
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"name": "deepmerge",
|
||||
"description": "A library for deep (recursive) merging of Javascript objects",
|
||||
"keywords": [
|
||||
"merge",
|
||||
"deep",
|
||||
"extend",
|
||||
"copy",
|
||||
"clone",
|
||||
"recursive"
|
||||
],
|
||||
"version": "4.3.1",
|
||||
"homepage": "https://github.com/TehShrike/deepmerge",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/TehShrike/deepmerge.git"
|
||||
},
|
||||
"main": "dist/cjs.js",
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rollup -c",
|
||||
"test": "npm run build && tape test/*.js && jsmd readme.md && npm run test:typescript",
|
||||
"test:typescript": "tsc --noEmit test/typescript.ts && ts-node test/typescript.ts",
|
||||
"size": "npm run build && uglifyjs --compress --mangle -- ./dist/umd.js | gzip -c | wc -c"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^8.10.54",
|
||||
"is-mergeable-object": "1.1.0",
|
||||
"is-plain-object": "^5.0.0",
|
||||
"jsmd": "^1.0.2",
|
||||
"rollup": "^1.23.1",
|
||||
"rollup-plugin-commonjs": "^10.1.0",
|
||||
"rollup-plugin-node-resolve": "^5.2.0",
|
||||
"tape": "^4.11.0",
|
||||
"ts-node": "7.0.1",
|
||||
"typescript": "=2.2.2",
|
||||
"uglify-js": "^3.6.1"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
Reference in New Issue
Block a user