- Add GitHub Actions CI workflow with lint, type-check, test, build, and e2e jobs - Configure Jest for unit and integration tests with coverage reporting - Create unit tests for BaseAgent, PlantLineageAgent, and AgentOrchestrator - Add blockchain PlantChain unit tests - Create API integration tests for plants endpoints - Configure Cypress for E2E testing with support files and custom commands - Add E2E tests for home, plant registration, transparency, and vertical farm pages - Set up Prettier for code formatting with configuration - Configure Husky pre-commit hooks with lint-staged - Add commitlint for conventional commit message enforcement - Update package.json with new scripts and dev dependencies This implements Agent 5 (Testing & CI/CD) from the deployment plan.
25 lines
455 B
JSON
25 lines
455 B
JSON
{
|
|
"plants": [
|
|
{
|
|
"id": "plant-1",
|
|
"name": "Cherry Tomato",
|
|
"species": "Tomato",
|
|
"variety": "Cherry",
|
|
"generation": 1,
|
|
"status": "healthy"
|
|
},
|
|
{
|
|
"id": "plant-2",
|
|
"name": "Sweet Basil",
|
|
"species": "Basil",
|
|
"variety": "Genovese",
|
|
"generation": 1,
|
|
"status": "thriving"
|
|
}
|
|
],
|
|
"user": {
|
|
"id": "user-1",
|
|
"email": "test@example.com",
|
|
"name": "Test User"
|
|
}
|
|
}
|