• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
geordie

geordie

euroleague-stats

Euroleague Fantasy Basketball Stats - View and export stats
Public
Like
euroleague-stats
Home
Code
12
api
1
tests
5
types
1
utils
3
.vtignore
AGENTS.md
FIXES.md
README.md
clubs.csv
deno.json
H
main.tsx
test-api-direct.js
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
tests
/
integration.test.md
Code
/
tests
/
integration.test.md
Search
…
integration.test.md

Integration Tests

Manual Test Checklist

1. API Endpoint Tests

  • Teams endpoint returns data with correct structure (clubs array)
  • Players data can be extracted from teams
  • Results endpoint returns gameResults array
  • Standings endpoint returns group array with teams
  • Schedules endpoint returns item array

2. Parameter Conversion Tests

  • Season "2024-25" converts to "E2024"
  • Season "2023-24" converts to "E2023"
  • Invalid season format handled gracefully

3. Response Parsing Tests

  • JSON responses parsed correctly
  • XML responses show appropriate error message
  • Different response structures handled (clubs, gameResults, group, item)

4. UI Component Tests

  • Filter controls update correctly
  • Data table displays data
  • Player selection works for charts
  • CSV export works
  • Error messages display correctly
  • Loading states work

5. Data Display Tests

  • Player stats show correct fields (name, clubName, score, etc.)
  • Game results show correct fields (date, homeTeam, awayTeam, scores)
  • Standings show team rankings
  • Schedules show upcoming games

Running Tests

Since the API may require authentication or have CORS restrictions, test the deployed version at: https://geordie--07e91f64f32d11f0ac1542dde27851f2.web.val.run

Check browser console for any errors and verify:

  1. Data loads successfully
  2. Filters work
  3. Tables display correctly
  4. Charts render
  5. CSV export works
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
Β© 2026 Val Town, Inc.