Skip to content

fix: resolve failing backend tests and dynamic import issues - #899

Open
Salome-Agu wants to merge 1 commit into
ritik4ever:mainfrom
Salome-Agu:chaos/indexer-kill-restart-wal-recovery
Open

fix: resolve failing backend tests and dynamic import issues#899
Salome-Agu wants to merge 1 commit into
ritik4ever:mainfrom
Salome-Agu:chaos/indexer-kill-restart-wal-recovery

Conversation

@Salome-Agu

Copy link
Copy Markdown
  • Fix index.test.ts: update countAllEvents assertion to match actual 3-arg signature
  • Fix integration.test.ts: replace dynamic imports in claim handler with static imports to avoid module reset issues after vi.resetModules()
  • Fix integration.test.ts: insert mock stream into fresh app's DB for rate limit test
  • All 554 tests pass, TypeScript build succeeds

Closes #772

- Fix index.test.ts: update countAllEvents assertion to match actual 3-arg signature
- Fix integration.test.ts: replace dynamic imports in claim handler with static imports to avoid module reset issues after vi.resetModules()
- Fix integration.test.ts: insert mock stream into fresh app's DB for rate limit test
- All 554 tests pass, TypeScript build succeeds

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@drips-wave

drips-wave Bot commented Aug 28, 2026

Copy link
Copy Markdown

@Salome-Agu 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

@vercel

vercel Bot commented Aug 28, 2026

Copy link
Copy Markdown

@Salome-Agu is attempting to deploy a commit to the ritik4ever's projects Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Aug 28, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 5cf21197-d1b9-4901-afe3-7973ece3a686


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

[FEATURE] Add chaos engineering tests (kill indexer mid-event)

1 participant