aboutsummaryrefslogtreecommitdiffstats
path: root/test/exchange_wrapper_test.ts
Commit message (Expand)AuthorAgeFilesLines
* Add chai-as-promisedLeonid Logvinov2017-06-051-0/+2
* Add a couple of awaits and returns for async testsLeonid Logvinov2017-06-051-4/+4
* remove spaceFabio Berger2017-06-031-1/+1
* Merge branch 'master' into addEventSubscriptionsFabio Berger2017-06-031-2/+2
|\
| * Merge pull request #31 from 0xProject/unavailableFilledCancelledLeonid2017-06-031-8/+78
| |\
| | * Merge branch 'master' into unavailableFilledCancelledFabio Berger2017-06-031-67/+143
| | |\
| | * \ Merge branch 'fillOrderAsync' into unavailableFilledCancelledFabio Berger2017-06-021-24/+94
| | |\ \
* | | | | Merge branch 'master' into addEventSubscriptionsFabio Berger2017-06-031-0/+1
|\| | | |
| * | | | Add includeStack config to chai setup so that we get stackTracesFabio Berger2017-06-031-0/+1
| | |_|/ | |/| |
* | | | Merge branch 'master' into addEventSubscriptionsFabio Berger2017-06-031-70/+146
|\| | |
| * | | Fix undefined web3 issueFabio Berger2017-06-031-2/+2
| * | | Fix linter errorsLeonid Logvinov2017-06-031-4/+12
| * | | Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsyncFabio Berger2017-06-031-30/+28
| |\ \ \
| | * | | Address feedbackLeonid Logvinov2017-06-031-8/+8
| | * | | Address feedbackLeonid Logvinov2017-06-031-5/+5
| | * | | Fix test nameLeonid Logvinov2017-06-031-1/+1
| | * | | Remove spacesLeonid Logvinov2017-06-031-3/+1
| | * | | Address feedbackLeonid Logvinov2017-06-031-8/+8
| | * | | Move FillOrderValidatinErrs to ExchangeContractErrsLeonid Logvinov2017-06-031-13/+13
| | * | | Rename EXPIRED to FILL_ORDER_EXPIREDLeonid Logvinov2017-06-021-1/+1
| | * | | Rename NOT_A_TAKER to TRANSACTION_SENDER_IS_NOT_FILL_ORDER_TAKERLeonid Logvinov2017-06-021-1/+1
| * | | | Fix orderingFabio Berger2017-06-031-1/+1
| |/ / /
| * | | rename fillTakerAmountInBaseUnits to fillTakerAmountFabio Berger2017-06-021-21/+21
| * | | Rename coinBase to coinbaseLeonid Logvinov2017-06-021-6/+6
| * | | Refactor balance & allowance testsLeonid Logvinov2017-06-021-47/+42
| * | | Add tests and checks for fees balances and allowancesLeonid Logvinov2017-06-021-1/+44
| * | | Add success test for fill with feesLeonid Logvinov2017-06-021-4/+21
| * | | Add check for ROUNDING_ERROR and test for itLeonid Logvinov2017-06-021-9/+22
| | |/ | |/|
* | | Merge branch 'fillOrderAsync' into addEventSubscriptionsFabio Berger2017-06-021-0/+25
|\| |
| * | Validate maker balance and allowance & testsLeonid Logvinov2017-06-021-0/+25
* | | Add tests for subscribeAsync, making sure events are caught and that subscrip...Fabio Berger2017-06-021-1/+83
* | | Merge branch 'fillOrderAsync' into addEventSubscriptionsFabio Berger2017-06-021-24/+69
|\| | | |/ |/|
| * Add test for valid partial fillLeonid Logvinov2017-06-021-0/+17
| * Add test for insufficient balance and make all async tests asyncLeonid Logvinov2017-06-021-15/+32
| * Introduce coinBase accountLeonid Logvinov2017-06-021-13/+20
* | Simplify testsFabio Berger2017-06-021-16/+11
* | Write tests for getUnavailableTakerAmountAsync, getFilledTakerAmountAsync and...Fabio Berger2017-06-021-8/+77
|/
* Fix testsLeonid Logvinov2017-06-021-2/+2
* WorkLeonid Logvinov2017-06-021-9/+24
* Create a FillsScenario utils module and use it in the fillOrder testsFabio Berger2017-06-021-37/+27
* Change test nameLeonid Logvinov2017-06-021-3/+2
* Make validateFillOrder asyncronousLeonid Logvinov2017-06-021-1/+2
* Add not enough taker balance testsLeonid Logvinov2017-06-021-7/+17
* Revert "Add test to check the balance"Leonid Logvinov2017-06-021-10/+0
* Add test to check the balanceLeonid Logvinov2017-06-011-0/+10
* Follow constants conventionLeonid Logvinov2017-06-011-2/+2
* remove unused argFabio Berger2017-06-011-6/+4
* Remove duplicate declarationsLeonid Logvinov2017-06-011-15/+3
* get rid of literal amount paramsFabio Berger2017-06-011-6/+16
* remove duplicate declarationsFabio Berger2017-06-011-3/+0
* Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsyncFabio Berger2017-06-011-8/+18
|\
| * give some balance and allowance by defaultLeonid Logvinov2017-06-011-5/+4
| * Add test, for throw when order is expiredLeonid Logvinov2017-06-011-3/+14
* | Add async suffix and fix alignmentFabio Berger2017-06-011-9/+9
|/
* reorder variabledFabio Berger2017-06-011-3/+3
* remove legacy codeFabio Berger2017-06-011-1/+0
* reorder importFabio Berger2017-06-011-1/+1
* Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsyncFabio Berger2017-06-011-9/+10
|\
| * Add shouldCheckTransferLeonid Logvinov2017-06-011-1/+1
| * Refactor testsLeonid Logvinov2017-06-011-10/+11
* | put external imports at the topFabio Berger2017-06-011-6/+6
|/
* Add comment for fillOrderAsync method, rename fillAmount to fillTakerAmountIn...Fabio Berger2017-06-011-3/+4
* Revert "Add EXPIRED test"Leonid Logvinov2017-06-011-22/+16
* Add EXPIRED testLeonid Logvinov2017-06-011-16/+22
* Add NOT_A_TAKER checkLeonid Logvinov2017-06-011-1/+10
* Add FILL_AMOUNT_IS_ZERO checkLeonid Logvinov2017-06-011-2/+2
* Add taker parameter to createSignedOrderLeonid Logvinov2017-06-011-2/+4
* Rename order to order_factoryLeonid Logvinov2017-06-011-1/+1
* Remove unnecessary checksLeonid Logvinov2017-06-011-5/+0
* Fix linter errorsLeonid Logvinov2017-06-011-8/+8
* Add dirty-chaiLeonid Logvinov2017-06-011-0/+4
* Allign parametersLeonid Logvinov2017-06-011-2/+2
* Use constLeonid Logvinov2017-06-011-1/+1
* Add setDefaultAccountLeonid Logvinov2017-06-011-2/+2
* Temp pushLeonid Logvinov2017-06-011-21/+28
* Add setAllowance functionLeonid Logvinov2017-05-311-4/+18
* Fix linter errorsLeonid Logvinov2017-05-311-1/+1
* Revert testsLeonid Logvinov2017-05-311-7/+43
* Merge branch 'erc20transfer' into fillOrderAsyncLeonid Logvinov2017-05-311-2/+0
* Refactor getOrderHash to accept order as an objectLeonid Logvinov2017-05-301-4/+3
* Add first passing testLeonid Logvinov2017-05-301-4/+5
* Temporarily remove testLeonid Logvinov2017-05-301-2/+1
* Append _test to exchange_wrapperLeonid Logvinov2017-05-301-0/+105