Fix failing about/calculator page tests - #389
Merged
Merged
Conversation
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-
/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
--fixoption. (no errors)