Skip to main content

Module test

Module test 

Source
Expand description

Implementations of Testing cheatcodes.

Modulesยง

assert ๐Ÿ”’
assume ๐Ÿ”’
expect ๐Ÿ”’
revert_handlers ๐Ÿ”’

Functionsยง

breakpoint ๐Ÿ”’
Adds or removes the given breakpoint to the state.
get_chain ๐Ÿ”’
Gets chain information for the given alias.
skip ๐Ÿ”’
Reverts with the magic skip payload and records it in the state, so that the executor can distinguish this genuine skip from user-crafted revert data carrying the same prefix.