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:
61
frontend/node_modules/@adobe/css-tools/package.json
generated
vendored
Normal file
61
frontend/node_modules/@adobe/css-tools/package.json
generated
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"name": "@adobe/css-tools",
|
||||
"version": "4.4.3",
|
||||
"description": "CSS parser / stringifier",
|
||||
"source": "src/index.ts",
|
||||
"main": "./dist/index.cjs",
|
||||
"module": "./dist/index.mjs",
|
||||
"exports": {
|
||||
"import": "./dist/index.mjs",
|
||||
"types": "./dist/types.d.ts",
|
||||
"require": "./dist/index.cjs"
|
||||
},
|
||||
"types": "./dist/types.d.ts",
|
||||
"type": "module",
|
||||
"files": [
|
||||
"dist",
|
||||
"Readme.md"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@parcel/packager-ts": "2.15.0",
|
||||
"@parcel/transformer-typescript-types": "2.15.0",
|
||||
"@types/benchmark": "^2.1.1",
|
||||
"@types/bytes": "^3.1.5",
|
||||
"@types/jest": "^29.5.3",
|
||||
"@types/node": "^22.15.18",
|
||||
"benchmark": "^2.1.4",
|
||||
"bytes": "^3.1.0",
|
||||
"gts": "^6.0.2",
|
||||
"jest": "^29.6.2",
|
||||
"parcel": "^2.15.0",
|
||||
"ts-jest": "^29.1.1",
|
||||
"typescript": "^5.7.3"
|
||||
},
|
||||
"scripts": {
|
||||
"benchmark": "node benchmark/index.mjs",
|
||||
"test": "jest",
|
||||
"clean": "gts clean && rm -rf ./dist",
|
||||
"build": "parcel build && node ./utils/fix-type-generation.cjs",
|
||||
"fix": "gts fix",
|
||||
"lint": "gts lint",
|
||||
"prepack": "npm run build",
|
||||
"prepare": "npm run build",
|
||||
"pretest": "npm run build",
|
||||
"posttest": "npm run lint"
|
||||
},
|
||||
"author": "TJ Holowaychuk <tj@vision-media.ca>",
|
||||
"contributors": [
|
||||
"Jean-Philippe Zolesio <holblin@gmail.com>"
|
||||
],
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/adobe/css-tools.git"
|
||||
},
|
||||
"keywords": [
|
||||
"css",
|
||||
"parser",
|
||||
"stringifier",
|
||||
"stylesheet"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user