Skip to content

test(indexer): created event emits notification - #240

Open
Bhargi777 wants to merge 1 commit into
StreamGive:mainfrom
Bhargi777:test/created-notification
Open

Bhargi777 wants to merge 1 commit into
StreamGive:mainfrom
Bhargi777:test/created-notification

Conversation

@Bhargi777

Copy link
Copy Markdown

Closes #151

Summary

  • Cover the stream_created webhook notification emitted by a created donation-vault event.
  • Assert the event ID, stream ID, donor address, and resolved NGO ID in the JSON payload.
  • Restore webhook environment and fetch mocks after the test.

Validation

  • git diff --check and targeted Prettier check passed.
  • npm run lint passed.
  • npm run typecheck is blocked by the existing origin/main missing @fastify/compress dependency.
  • Integration test execution requires PostgreSQL; this environment has no Docker/Postgres service.

@Ashborne267 Ashborne267 reopened this Oct 18, 2026

This branch has not been deployed

No deployments
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 a test that a created event emits a stream_created notification

2 participants