df1fab540e
rename MerkleProof.verifyProof to MerkleProof.verify ( #1294 )
2018-09-06 21:48:04 -03:00
2441fd7d17
Move contracts to subdirectories ( #1253 )
...
* Move contracts to subdirectories
Fixes #1177 .
This Change also removes the LimitBalance contract.
* fix import
* move MerkleProof to cryptography
* Fix import
2018-09-03 10:53:28 -03:00
1c57637fd5
fix: refactor sign.js and related tests ( #1243 )
...
* fix: refactor sign.js and related tests
* fix: remove unused dep
* fix: update package.json correctly
2018-08-29 06:35:44 -03:00
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.
2018-08-22 16:05:18 -03:00
64c324e37c
remove arrow functions from js tests ( #1225 )
2018-08-21 16:30:14 -03:00
20cf885430
No longer assigning awaits to temporary variables. ( #1216 )
2018-08-17 16:10:40 -03:00
d51e38758e
Math.average ( #1170 )
...
* Added Math.average
* Removed assertion.
2018-08-13 20:07:18 -03:00
ac91af9a6a
Replace all asserts with chai.should ( #1183 )
...
* Moving towards chai.should.
* Fixed failing tests.
* Fixed linter errors.
* Revert package-lock.json changes.
* Fixed failing tests.
* s/eq/equal
* Addressed review comment
2018-08-10 19:03:04 -03:00
bf34911857
Remove Math.min64 and Math.max64 ( #1156 )
...
* remove Math.min64 and Math.max64
* refactor Math tests to use return values
* enhance Math coverage
2018-08-06 15:18:19 -03:00
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.
2018-08-02 16:55:31 -03:00
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.
2018-07-26 13:25:10 -03:00
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
2018-07-26 11:53:33 -03:00
67b67b791e
Changed before for beforeAll, refactored Bouncer tests. ( #1094 )
...
* Changed before for beforeAll, refactored Bouncer tests.
* Fixed linter errors.
* fix: updates for SignatureBouncer tests and voucher construction
2018-07-20 12:25:40 -03:00
cea2a85a42
Remove Babel ( #1074 )
...
* Test helpers no longer rely on Babel.
* Behaviours are no longer imported.
* Removed Babel dependency.
* Fixed linter errors.
2018-07-18 19:37:16 -03:00
99e4b081dc
ECRecover test should revert because of wrong calldata size ( #1050 )
...
* Assume that token is mintable.
* ECRecover test should revert because of wrong calldata size
* fix: use expectThrow
* fix: ignore failing test until solc^0.5.0
2018-07-16 18:38:57 -04:00
f4bdaf49a1
Increase test coverage to 93% #549 ( #768 )
...
* Increase test coverage to 93% #549
* cover missing AllowanceCrowdsale branch
* improve Heritable coverage
* fix lint errors
* proper equal assert
* address review comments
* remove unneeded const definitions and imports
* use assertRevert
* reword scenario description
* Increase test coverage to 93% #549
* cover missing AllowanceCrowdsale branch
* improve Heritable coverage
* fix lint errors
* proper equal assert
* address review comments
* remove unneeded const definitions and imports
* use assertRevert
* reword scenario description
* move HIGH_GOAL constant to the scope where it's used
* remove const at top level
* address review comments
2018-04-17 15:05:34 -03:00
6a7114fdb4
Bouncer contract implementation ( #883 )
...
* feat: implement bouncer contracts
* fix: rename Bouncer to SignatureBouncer
2018-04-17 11:36:24 -03:00
a7e91856f3
Update to Truffle 4.1.5 and Ganache 6.1.0 ( #876 )
...
* Update to ganache-cli v6.1.0 and truffle v4.1.0
* Update to stable version of ganache-cli
* fix: update event emission warning
- Fix event emission warnings for solidity 4.21 after truffle has been
updated to use this version
* fix pr review comments
* update to truffle v4.1.5
* update package-lock
* add additional emit keywords
* update solidity-coverage to 0.4.15
* update to solium 1.1.6
* fix MerkleProof coverage analysis by testing through wrapper
* change version pragma to ^0.4.21
* fix solium linting errors
2018-04-09 20:48:32 -03:00
e299a7950e
Change ECRecovery recover method's visibility to internal ( #818 )
...
* Change ECRecovery recover method's visibility to internal
* Adopt the test
* Remove unused imports
2018-03-21 21:38:31 -03:00
f4228f1b49
fix: reference contract name rather than filepath ( #698 )
2018-01-25 11:52:51 -03:00
4fbd44fd40
Reorganize tests and add library folder
2018-01-17 15:59:15 -03:00