Files
hive/frontend/node_modules/babel-preset-current-node-syntax/package.json
anthonyrawlins aacb45156b 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>
2025-07-11 14:06:34 +10:00

46 lines
1.7 KiB
JSON

{
"name": "babel-preset-current-node-syntax",
"version": "1.1.0",
"description": "A Babel preset that enables parsing of proposals supported by the current Node.js version.",
"main": "src/index.js",
"repository": {
"type": "git",
"url": "https://github.com/nicolo-ribaudo/babel-preset-current-node-syntax.git"
},
"author": {
"name": "Nicolò Ribaudo",
"url": "https://github.com/nicolo-ribaudo"
},
"scripts": {
"test": "node ./test/index.js"
},
"dependencies": {
"@babel/plugin-syntax-async-generators": "^7.8.4",
"@babel/plugin-syntax-bigint": "^7.8.3",
"@babel/plugin-syntax-class-properties": "^7.12.13",
"@babel/plugin-syntax-class-static-block": "^7.14.5",
"@babel/plugin-syntax-import-attributes": "^7.24.7",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-syntax-json-strings": "^7.8.3",
"@babel/plugin-syntax-logical-assignment-operators": "^7.10.4",
"@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
"@babel/plugin-syntax-numeric-separator": "^7.10.4",
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
"@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
"@babel/plugin-syntax-optional-chaining": "^7.8.3",
"@babel/plugin-syntax-private-property-in-object": "^7.14.5",
"@babel/plugin-syntax-top-level-await": "^7.14.5"
},
"peerDependencies": {
"@babel/core": "^7.0.0"
},
"devDependencies": {
"@babel/core": "7.25.2",
"@babel/parser-7.0.0": "npm:@babel/parser@7.0.0",
"@babel/parser-7.12.0": "npm:@babel/parser@7.12.0",
"@babel/parser-7.22.0": "npm:@babel/parser@7.22.0",
"@babel/parser-7.9.0": "npm:@babel/parser@7.9.0"
},
"license": "MIT"
}