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
Santiago Palladino
0926729c8f
Add StandardBurnableToken implementation ( #870 )
...
* Add StandardBurnableToken implementation
BurnableToken that extends from StandardToken and adds a
burnFrom method that decrements allowance. Equivalent to
a transferFrom plus burn in a single operation.
* Return event object from expectEvent helper
* Add comment on Approval event in burnFrom function
* Improvements on burnable token tests
- Inject initial balance as a parameter to the behaviour
- Use expectEvent helper for assertions on events
- Use chai bignumber for numbers
- Change to bdd-style assertions
7 years ago
Facundo Spagnuolo
9f52e94339
Move ERC20 tests to ERC20 custom folder ( #772 )
7 years ago
Roman Storm
5ef8554727
Add Transfer event to Burnable Token. ( #735 )
...
Fixes #732
7 years ago
Facundo Spagnuolo
6ad275befb
Improve ERC20s tests coverage ( #712 )
...
* Improve StandardToken tests coverage
* Improve BasicToken test coverage
* Improve MintableToken test coverage
* Improve BurnableToken test coverage
* Improve PausableToken tests coverage
7 years ago
Matt Condon
f4228f1b49
fix: reference contract name rather than filepath ( #698 )
7 years ago
Facundo Spagnuolo
b925b2dae6
Organize test files following contracts folders structure
7 years ago
Santiago Palladino
1455a5a942
Re-enable solidity coverage
...
- Upgrade version
- Re-enable in travis.yml
- Move mocks to contracts folder for instrumentation
7 years ago
Matt Condon
227a335399
feat: move mock solidity contracts to mocks/ folder
7 years ago
Matt Condon
58abd66969
feat: rename all test files to include .test.js postfix
7 years ago
Matt Condon
8662846838
feat: apply eslint --fix across project
7 years ago
Ben Burns
c29dd086d3
Update to testrpc 6.0.1 and test fixes for revert opcode.
7 years ago
Roy Blankman
6d8bb497c8
removing trailing whitespace
7 years ago
lsaether
cf58330936
added tests for BurnableToken
8 years ago