Skip to content

test: add creator list load integration test (#359)#370

Merged
Chucks1093 merged 2 commits into
accesslayerorg:mainfrom
temisan0x:feat/creator-list-load-test
May 30, 2026
Merged

test: add creator list load integration test (#359)#370
Chucks1093 merged 2 commits into
accesslayerorg:mainfrom
temisan0x:feat/creator-list-load-test

Conversation

@temisan0x
Copy link
Copy Markdown
Contributor

Summary

Adds an integration test that seeds a large creator fixture and asserts the GET /api/v1/creators endpoint responds within a defined time budget, catching query or indexing regressions before they reach production.

Changes

  • src/__tests__/integration/creator-list-load.test.ts — new integration test
  • package.json — added supertest and @types/supertest as devDependencies

Test details

Constant Value
CREATOR_FIXTURE_SIZE 500
RESPONSE_TIME_BUDGET_MS 2000ms

How to run

pnpm exec jest src/__tests__/integration/creator-list-load.test.ts --runInBand

Checklist

  • Named constants define fixture size and time budget
  • Seed and teardown are scoped to test records only
  • Test fails if response time exceeds the budget
  • supertest added to devDependencies
  • No changes outside test folder and package.json

Closes #359

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 30, 2026

@temisan0x Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Chucks1093 Chucks1093 merged commit 06c8b3b into accesslayerorg:main May 30, 2026
1 check passed
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.

Add integration test for creator list response time under load fixture

2 participants