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:
48
frontend/node_modules/@bcoe/v8-coverage/package.json
generated
vendored
Normal file
48
frontend/node_modules/@bcoe/v8-coverage/package.json
generated
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"name": "@bcoe/v8-coverage",
|
||||
"version": "0.2.3",
|
||||
"description": "Helper functions for V8 coverage files.",
|
||||
"author": "Charles Samborski <demurgos@demurgos.net> (https://demurgos.net)",
|
||||
"license": "MIT",
|
||||
"main": "dist/lib/index",
|
||||
"types": "dist/lib/index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/demurgos/v8-coverage.git"
|
||||
},
|
||||
"homepage": "https://demurgos.github.io/v8-coverage",
|
||||
"scripts": {
|
||||
"prepare": "gulp all:tsconfig.json && gulp dist",
|
||||
"pretest": "gulp lib:build",
|
||||
"test": "gulp test",
|
||||
"lint": "gulp :lint:fix"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/chai": "^4.1.4",
|
||||
"@types/gulp": "^4.0.5",
|
||||
"@types/minimist": "^1.2.0",
|
||||
"@types/mocha": "^5.2.2",
|
||||
"@types/node": "^10.5.4",
|
||||
"chai": "^4.1.2",
|
||||
"codecov": "^3.0.2",
|
||||
"gulp": "^4.0.0",
|
||||
"gulp-cli": "^2.0.1",
|
||||
"minimist": "^1.2.0",
|
||||
"pre-commit": "^1.2.2",
|
||||
"ts-node": "^8.3.0",
|
||||
"turbo-gulp": "^0.20.1"
|
||||
},
|
||||
"nyc": {
|
||||
"include": [
|
||||
"build/test/lib/**/*.js",
|
||||
"build/test/lib/**/*.mjs"
|
||||
],
|
||||
"reporter": [
|
||||
"text",
|
||||
"html"
|
||||
],
|
||||
"extension": [
|
||||
".mjs"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user