- 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>
51 lines
1.1 KiB
JSON
51 lines
1.1 KiB
JSON
{
|
|
"name": "istanbul-lib-instrument",
|
|
"version": "6.0.3",
|
|
"description": "Core istanbul API for JS code coverage",
|
|
"author": "Krishnan Anantheswaran <kananthmail-github@yahoo.com>",
|
|
"main": "src/index.js",
|
|
"files": [
|
|
"src"
|
|
],
|
|
"scripts": {
|
|
"test": "nyc mocha"
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "^7.23.9",
|
|
"@babel/parser": "^7.23.9",
|
|
"@istanbuljs/schema": "^0.1.3",
|
|
"istanbul-lib-coverage": "^3.2.0",
|
|
"semver": "^7.5.4"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.23.9",
|
|
"chai": "^4.2.0",
|
|
"clone": "^2.1.2",
|
|
"debug": "^4.1.1",
|
|
"documentation": "^12.1.4",
|
|
"js-yaml": "^3.13.1",
|
|
"mocha": "^6.2.3",
|
|
"nopt": "^4.0.1",
|
|
"nyc": "^15.1.0"
|
|
},
|
|
"license": "BSD-3-Clause",
|
|
"bugs": {
|
|
"url": "https://github.com/istanbuljs/istanbuljs/issues"
|
|
},
|
|
"homepage": "https://istanbul.js.org/",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+ssh://git@github.com/istanbuljs/istanbuljs.git",
|
|
"directory": "packages/istanbul-lib-instrument"
|
|
},
|
|
"keywords": [
|
|
"coverage",
|
|
"istanbul",
|
|
"js",
|
|
"instrumentation"
|
|
],
|
|
"engines": {
|
|
"node": ">=10"
|
|
}
|
|
}
|