-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up Operator and Sponsorship tests (#655)
* test: organize all tests under describe blocks * refactor: reorganize tests under describe blocks * fix: bug in kicking and slashing all also moved "is not possible to get slashed more than you have staked" to Sponsorship.test.ts, and fixed up other tests too * test: removed TODO, fixed now * test: cleaned up a very dodgy test it was probably just testing the "2" case of TestAllocationPolicy also made the "10" case more explicit * test: fix lint * fix: add coverage remove double access checks trigger undelegation self-delegation limit
- Loading branch information
Showing
10 changed files
with
651 additions
and
655 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.