Skip to content

Fix failing about/calculator page tests - #389

Merged
itskai-dev merged 1 commit into
mainfrom
fix/ci-test-failures
Feb 10, 2026
Merged

Fix failing about/calculator page tests#389
itskai-dev merged 1 commit into
mainfrom
fix/ci-test-failures

Conversation

@itskai-dev

Copy link
Copy Markdown
Collaborator

Summary\n- update to match current async/live-data About page structure\n- update to match current ROI calculator UI and metrics labels\n- mock API responses for stable test rendering\n\n## Verification\n- \n-

agent-hub@0.1.0 lint
eslint

/private/tmp/foragents-dev-cifix/tests/integrations-detail-page.test.tsx
151:14 warning 'error' is defined but never used @typescript-eslint/no-unused-vars

/private/tmp/foragents-dev-cifix/tests/notifications-page.test.tsx
121:31 warning 'onValueChange' is defined but never used @typescript-eslint/no-unused-vars

/private/tmp/foragents-dev-cifix/tests/partners-detail-page.test.tsx
175:14 warning 'error' is defined but never used @typescript-eslint/no-unused-vars

/private/tmp/foragents-dev-cifix/src/app/analytics/heatmap/page.tsx
314:61 warning 'index' is defined but never used @typescript-eslint/no-unused-vars

/private/tmp/foragents-dev-cifix/src/app/api-docs/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/api/careers/route.ts
8:7 warning 'VALID_TYPES' is assigned a value but only used as a type @typescript-eslint/no-unused-vars

/private/tmp/foragents-dev-cifix/src/app/api/recommendations/route.ts
3:10 warning 'NEED_CATEGORIES' is defined but never used @typescript-eslint/no-unused-vars

/private/tmp/foragents-dev-cifix/src/app/badges/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/blog/[slug]/error.tsx
11:48 warning '_error' is defined but never used @typescript-eslint/no-unused-vars

/private/tmp/foragents-dev-cifix/src/app/blog/[slug]/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/blog/error.tsx
10:44 warning '_error' is defined but never used @typescript-eslint/no-unused-vars

/private/tmp/foragents-dev-cifix/src/app/blog/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/bounties/[id]/bounty-detail-client.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/bounties/[id]/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/bounties/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/calculator/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')
5:10 warning 'Calculator' is defined but never used @typescript-eslint/no-unused-vars

/private/tmp/foragents-dev-cifix/src/app/careers/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/certifications/[slug]/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/certifications/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/community/[id]/discussion-detail-client.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/community/[id]/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/community/community-client.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/community/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/creators/[username]/page.tsx
6:10 warning 'Breadcrumbs' is defined but never used @typescript-eslint/no-unused-vars

/private/tmp/foragents-dev-cifix/src/app/creators/[username]/stats/page.tsx
4:10 warning 'Breadcrumbs' is defined but never used @typescript-eslint/no-unused-vars

/private/tmp/foragents-dev-cifix/src/app/diagnostics/diagnostics-client.tsx
35:18 warning 'e' is defined but never used @typescript-eslint/no-unused-vars

/private/tmp/foragents-dev-cifix/src/app/economics/compare/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/economics/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/ecosystem/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/get-started/page.tsx
4:10 warning 'Breadcrumbs' is defined but never used @typescript-eslint/no-unused-vars
5:8 warning 'Link' is defined but never used @typescript-eslint/no-unused-vars

/private/tmp/foragents-dev-cifix/src/app/interop/[protocol]/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/interop/decision-guide/decision-guide-client.tsx
3:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/interop/decision-guide/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/interop/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/mcp/health/[slug]/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/mcp/health/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/memory-patterns/[pattern]/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/memory-patterns/cookbook/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/memory-patterns/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/metrics/page.tsx
80:9 warning 'getStatusColor' is assigned a value but never used @typescript-eslint/no-unused-vars

/private/tmp/foragents-dev-cifix/src/app/migrate/guide/page.tsx
13:3 warning 'TrendingUp' is defined but never used @typescript-eslint/no-unused-vars
31:8 warning 'skillVersions' is defined but never used @typescript-eslint/no-unused-vars
170:38 warning 'idx' is defined but never used @typescript-eslint/no-unused-vars

/private/tmp/foragents-dev-cifix/src/app/notifications/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/observability-guide/tracing/page.tsx
3:10 warning 'useState' is defined but never used @typescript-eslint/no-unused-vars

/private/tmp/foragents-dev-cifix/src/app/observability/page.tsx
3:15 warning 'Metadata' is defined but never used @typescript-eslint/no-unused-vars

/private/tmp/foragents-dev-cifix/src/app/onboarding/onboarding-wizard.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/onboarding/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/partners/[slug]/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/partners/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/releases/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/search/page.tsx
391:13 warning The attribute aria-expanded is not supported by the role searchbox jsx-a11y/role-supports-aria-props

/private/tmp/foragents-dev-cifix/src/app/showcase/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/skills/[slug]/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')
16:10 warning 'Breadcrumbs' is defined but never used @typescript-eslint/no-unused-vars

/private/tmp/foragents-dev-cifix/src/app/sponsor/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/trust-center/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/trust/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/use-cases/use-cases-client.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/workflows/[id]/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/workflows/builder/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/app/workflows/page.tsx
1:1 warning Unused eslint-disable directive (no problems were reported from 'react/no-unescaped-entities')

/private/tmp/foragents-dev-cifix/src/components/compare/CompareSkillsPageClient.tsx
140:6 warning React Hook useEffect has a missing dependency: 'effectiveSlugs'. Either include it or remove the dependency array react-hooks/exhaustive-deps
140:7 warning React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked react-hooks/exhaustive-deps

✖ 67 problems (0 errors, 67 warnings)
0 errors and 43 warnings potentially fixable with the --fix option. (no errors)

@itskai-dev
itskai-dev merged commit f6cd7c8 into main Feb 10, 2026
2 of 3 checks passed
@supabase

supabase Bot commented Feb 10, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project oldbapagtyvkplbqllwa because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@vercel

vercel Bot commented Feb 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-hub Building Building Preview, Comment Feb 10, 2026 5:40am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant