Closed edisontim closed 6 months ago
We should be testing in the smart contracts that SpawnNpc, CombatOutcome and OrderAccepted events were correctly emitted. I've attempted to use the pop_log and pop_log_raw functions of starknet::testing module but wasn't succesful so far
SpawnNpc
CombatOutcome
OrderAccepted
pop_log
pop_log_raw
Closed by #34
We should be testing in the smart contracts that
SpawnNpc
,CombatOutcome
andOrderAccepted
events were correctly emitted. I've attempted to use thepop_log
andpop_log_raw
functions of starknet::testing module but wasn't succesful so far