Skip to content

test(backend): cover PaginationHelper, StatsController and GistsController; remove stray gists e2e spec - #1678

Merged
BigBen-7 merged 1 commit into
PinSpace-Org:mainfrom
tolulopedd26:drill/tolulopedd26-1602-1605
Nov 19, 2026
Merged

BigBen-7 merged 1 commit into
PinSpace-Org:mainfrom
tolulopedd26:drill/tolulopedd26-1602-1605

Conversation

@tolulopedd26

Copy link
Copy Markdown
Contributor

What changed

Not done / partial / untested

  • Nothing was run: no npm test, npm run test:cov or npm run test:e2e (the e2e suite needs a database).
  • I could not measure coverage, so the ">90%" criteria for PaginationHelper and GistsController are unconfirmed.
  • The ported e2e tests were never run in either file. I changed two assertions from the stray file: the "dangerous characters" test now matches /uuid/i against String(body.message) (the original expected an array), and the out-of-range-latitude test asserts only the status code. The stray file's /health test was dropped because the e2e spec already has one on /v1/health.
  • The stray file's limit test ran against an empty table; the ported one seeds three gists first.

Merge notes

No overlap with the other PRs in this batch.

Closes #1602
Closes #1603
Closes #1604
Closes #1605

@drips-wave

drips-wave Bot commented Nov 18, 2026

Copy link
Copy Markdown

@tolulopedd26 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

@BigBen-7
BigBen-7 merged commit fe5f804 into PinSpace-Org:main Nov 19, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants