Nicolás Venturo
|
b0da0fded0
|
Replaced assertJump, assertRevert and expectThrow with shouldFail. (#1363)
* Replaced assertJump, assertRevert and expectThrow with shouldFail.
* Fixed linter errors.
* Fixed typo.
* Made the helpers async.
|
6 years ago |
Aniket
|
58a42443df
|
added a test helper with common constants (#1400)
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359)"
This reverts commit a6889776f4 .
* updates
* fixes #1206
|
6 years ago |
Aniket
|
af42c39e6c
|
Improves Ownable events (#1397)
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359)"
This reverts commit a6889776f4 .
* updates
* fixes #1392
* event tests added
* constructor event added
|
6 years ago |
Leo Arias
|
616124e37c
|
Update modifiers to call public view functions (#1277)
* Update modifiers to call public view functions.
Fixes #1179.
* remove isMinter
* fix is owner call
* fix isOpen
* Remove unnecessary solium disable
|
7 years ago |
Nicolás Venturo
|
4fb9bb7020
|
Minor test style improvements (#1219)
* Changed .eq to .equal
* Changed equal(bool) to .to.be.bool
* Changed be.bool to equal(bool), disallowed unused expressions.
|
7 years ago |
Nicolás Venturo
|
ba85aef95e
|
Renamed behaviour to behavior. (#1151)
|
7 years ago |
Nicolás Venturo
|
4544df47da
|
All tests now use account names, and dont use accounts[0] (except ERC… (#1137)
* All tests now use account names, and dont use accounts[0] (except ERC721)
* Added account names to some missing contracts.
|
7 years ago |
Nicolás Venturo
|
567b773242
|
Prefer const in test files (#1117)
* Removed all instances of var.
* Sorted eslintrc rules.
* Made eslint rule severity explicit.
* Now prefering const over let.
|
7 years ago |
Justus Perlwitz
|
e6c15b34da
|
Remove chai-as-promised (#1116)
* Test: Remove chai-as-promised calls
* Test/Helpers: expectThrow accepts optional message
* NPM: Remove chai-as-promised
* Contracts/DestructibleMock: Fix lint
|
7 years ago |
Nicolás Venturo
|
cea2a85a42
|
Remove Babel (#1074)
* Test helpers no longer rely on Babel.
* Behaviours are no longer imported.
* Removed Babel dependency.
* Fixed linter errors.
|
7 years ago |
Paweł Winnicki
|
20b85be6aa
|
Ownable behavior (#929)
* added function to renounce ownership
* Provide an Ownable behavior for testing (#905)
* Fix indentation
* Convert to use should assertions
|
7 years ago |