onlydustxyz/starkonquest

Use lastest protostar version to check events in unit test

Opened this issue · 0 comments

user story

https://contributions.onlydust.xyz/use-lastest-protostar-version-to-check-events-in-unit-test

Description

As a developer, I want to make sure events are thrown at the right time, and with correct data.

From version 0.2.0, Protostar allows to test that some events are sent.

Use this new feature to add assertions in tests about thrown events.

Acceptance Criteria

  • all events should be tested at least once. Feel free to create new tests if needed.
  • events data must be checked.
  • tests must be/remain deterministic.