aboutsummaryrefslogtreecommitdiffstats
path: root/test/token_wrapper_test.ts
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'development' into orderWatcherFabio Berger2017-11-131-5/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: 0.23.0 Update CHANGELOG Fix amounts in tests one last time. Now that we updated the testRPC snapshot, this should no longer be mismatched between CI and locally Update testRPC snapshot used by CircleCi Push unsubscribe to the base class rather than super Check for null rather than undefined Removed nits Test case was error then unsubscribe Clean up subscription state. Fix unhandled promise rejection error on subscriptions # Conflicts: # src/types.ts # test/exchange_wrapper_test.ts # test/token_wrapper_test.ts
| * Fix amounts in tests one last time. Now that we updated the testRPC ↵Fabio Berger2017-11-121-2/+2
| | | | | | | | snapshot, this should no longer be mismatched between CI and locally
| * Fix unhandled promise rejection error on subscriptionsFabio Berger2017-11-111-5/+5
| |
* | Fix expected balanceFabio Berger2017-11-111-2/+2
| |
* | Revert test amount changesLeonid Logvinov2017-11-101-2/+2
| |
* | Fix tests by making the expected balance be 2^27 not 2^26Fabio Berger2017-11-091-2/+2
| |
* | Add initial mempool watching implememtationLeonid Logvinov2017-10-311-5/+6
|/
* Upgrade bignumber to the version with native typings and remove typingsLeonid Logvinov2017-10-261-2/+2
|
* Make logs fetching and sunscriptions more type-safeLeonid Logvinov2017-10-131-13/+16
|
* Use BlockParamLiteral typesLeonid Logvinov2017-10-061-3/+3
|
* Remove TODOsLeonid Logvinov2017-10-051-1/+0
|
* Update CHANGELOGLeonid Logvinov2017-10-051-1/+1
|
* Add missing commentsLeonid Logvinov2017-10-051-1/+1
|
* Implement subscriptions based on ethereumjs-blockstreamLeonid Logvinov2017-10-051-53/+35
|
* Add filtering by topicLeonid Logvinov2017-10-041-4/+21
|
* Add tests for zeroEx.exchange.getLogsAsyncLeonid Logvinov2017-10-041-2/+2
|
* Add tests for zeroEx.token.getLogsAsyncLeonid Logvinov2017-10-041-0/+37
|
* Change non-exhange contracts to also return txHashLeonid Logvinov2017-09-051-1/+2
|
* Fix tests descriptionsLeonid Logvinov2017-09-041-2/+2
|
* Use zeroEx.getAvailableAddressesAsync instead of web3.eth.getAccountsLeonid Logvinov2017-08-301-1/+1
|
* Add an explanatory commentLeonid Logvinov2017-08-251-1/+4
|
* Add a test that unlimited allowance reduces gas costLeonid Logvinov2017-08-251-0/+28
|
* Add tests for unlimited allowanceLeonid Logvinov2017-08-251-0/+21
|
* Rename shouldCheckTransfer to shouldThrowOnInsufficientBalanceOrAllowance in ↵Leonid Logvinov2017-08-221-1/+1
| | | | tests
* Use lowercase address in testsLeonid Logvinov2017-08-221-1/+1
|
* remove unnecessary assertion and add regression testFabio Berger2017-08-171-17/+40
|
* Remove isUserAddressAvailable assertion from getBalanceAsync and add ↵Fabio Berger2017-08-171-18/+36
| | | | regression test
* Use actual exception values in test namesLeonid Logvinov2017-07-121-3/+3
|
* Use PascalCase names as string enum keysLeonid Logvinov2017-07-121-10/+10
|
* Use .bignumber for BigNumber comparationLeonid Logvinov2017-07-051-2/+2
|
* Refactor event testsLeonid Logvinov2017-07-051-13/+12
|
* Handle errors from pseudo-async subscription testsLeonid Logvinov2017-07-041-5/+5
|
* Add initial implementation and tests for zeroEx.token.subscribeAsyncLeonid Logvinov2017-07-041-1/+112
|
* Make ZeroEx constructor accept Web3Provider instead of Web3 instanceLeonid Logvinov2017-06-151-1/+1
|
* Introduce index.ts file which defines public interfaceLeonid Logvinov2017-06-131-2/+1
|
* Change main file name from 0x.js.ts to 0x.tsLeonid Logvinov2017-06-121-1/+1
|
* Merge branch 'master' into chai-setupLeonid2017-06-061-0/+11
|\
| * Address feedbackLeonid Logvinov2017-06-061-1/+2
| |
| * Add regression test for transferFrom bugLeonid Logvinov2017-06-051-0/+10
| |
* | Address feedbackLeonid Logvinov2017-06-061-2/+2
| |
* | Add chai_setupLeonid Logvinov2017-06-051-1/+2
|/
* Fix bugFabio Berger2017-06-031-7/+5
|
* Merge branch 'master' into remainingTokenMethodsFabio Berger2017-06-031-0/+1
|\ | | | | | | | | | | # Conflicts: # src/types.ts # src/web3_wrapper.ts
| * Add includeStack config to chai setup so that we get stackTracesFabio Berger2017-06-031-0/+1
| |
* | remove unneeded calls to toBaseUnitAmountFabio Berger2017-06-021-8/+4
| |
* | pass numbers to BigNumber unless it's too big for the number typeFabio Berger2017-06-021-4/+4
| |
* | use BigNumber(0) instead of with a string zeroFabio Berger2017-06-021-4/+4
| |
* | Add balance check to `transferAsync` and related testFabio Berger2017-06-021-3/+14
| |
* | Add tests for transferFromAsync, setAllowanceAsync and getAllowanceAsync and ↵Fabio Berger2017-06-021-21/+125
|/ | | | fix up other test issues
* Address feedbackLeonid Logvinov2017-05-311-26/+28
|
* Add transfer function and tests for itLeonid Logvinov2017-05-311-0/+19
|
* remove unused importsFabio Berger2017-05-301-2/+0
|
* Add test for setProxyAllowanceAsync and additional test for ↵Fabio Berger2017-05-301-2/+32
| | | | getProxyAllowanceAsync
* remove spaces after it keywordFabio Berger2017-05-301-2/+2
|
* Add first test for getProxyAllowanceAsyncFabio Berger2017-05-301-0/+9
|
* use token instead of erc20Fabio Berger2017-05-301-3/+3
|
* rename erc20Wrapper to tokenWrapper to be more generic in case we end up ↵Fabio Berger2017-05-301-0/+55
supporting another spec