Skip to content

Commit

Permalink
Improve Core tests (#131)
Browse files Browse the repository at this point in the history
In this PR we add some improvements to the core tests.
We extract before and after snapshots to wrapper functions for easier
usage in tests.

We should use `beforeAfterSnapshotWrapper` in the test suites that may
introduce changes to the chain state, so the outcome of test execution
doesn't affect tests in other suites.

I took a change to improve stake tests to some level, but didn't want to
move any further with refactoring not to make this PR unreviewable.
  • Loading branch information
r-czajkowski authored Jan 11, 2024
2 parents 5916950 + ed53862 commit a2babba
Show file tree
Hide file tree
Showing 5 changed files with 325 additions and 295 deletions.
Loading

0 comments on commit a2babba

Please sign in to comment.