Skip to content

Add regression test for event emission count on successful buy #320

@aniokedianne

Description

@aniokedianne

Summary
Existing buy event tests assert the payload fields but not how many events are emitted. A regression test that counts emitted events on a successful buy confirms exactly one buy event is emitted and no extra events are produced as a side effect.

Scope

  • add a regression test that performs a successful buy and collects all emitted events
  • assert exactly one buy event is emitted
  • assert no unexpected event types appear alongside the buy event

Acceptance Criteria

  • exactly one buy event is emitted on a successful buy
  • no extra or unexpected events are emitted
  • the test fails if event count changes

Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions