aboutsummaryrefslogtreecommitdiffstats
path: root/test/order_state_watcher_test.ts
Commit message (Collapse)AuthorAgeFilesLines
* Switch over to Lerna + Yarn Workspaces setup for a mono-repo approachFabio Berger2017-11-131-356/+0
|
* Remove old testsLeonid Logvinov2017-11-131-62/+0
|
* Remove unused codeLeonid Logvinov2017-11-131-1/+1
|
* Fix testsLeonid Logvinov2017-11-131-4/+4
|
* Fix testsLeonid Logvinov2017-11-131-1/+1
|
* Remove blockStore and default to numConfirmations === 0Leonid Logvinov2017-11-131-8/+8
|
* Adjust tests to new interfaceLeonid Logvinov2017-11-131-14/+11
|
* Merge pull request #210 from dekz/orderWatcherRemainingFabio Berger2017-11-131-0/+82
|\ | | | | Calculate the remaining order amount in maker units
| * Perform the division after multiplication to reduce compounding the rounding ↵Jacob Evans2017-11-131-7/+8
| | | | | | | | errors
| * text description updateJacob Evans2017-11-131-2/+2
| |
| * remove onlyJacob Evans2017-11-131-3/+3
| |
| * Added specs for allowance and balance changesJacob Evans2017-11-131-0/+79
| |
| * Calculate the remaining order amount in maker unitsJacob Evans2017-11-131-0/+2
| |
* | Merge pull request #207 from 0xProject/orderWatcherTestsFabio Berger2017-11-131-0/+88
|\ \ | |/ |/| Additional order watcher tests
| * Add tests for the numConfirmations config to ensure that the events are ↵Fabio Berger2017-11-111-2/+68
| | | | | | | | being emitted for the confirmation depth specified
| * Test that the orderStateWatcher doesn't emit an event when an irrelevant ↵Fabio Berger2017-11-101-0/+22
| | | | | | | | blockchain event is received.
* | Fix test given that we now do delete the keys in dependentOrderHashesFabio Berger2017-11-111-1/+1
| |
* | Fix missing renamesFabio Berger2017-11-111-2/+2
|/
* Fix test descriptionFabio Berger2017-11-101-1/+1
|
* Fix test descriptionFabio Berger2017-11-101-1/+1
|
* remove no longer needed argFabio Berger2017-11-101-3/+2
|
* Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcherFabio Berger2017-11-101-13/+55
|\ | | | | | | | | | | | | | | * 'orderWatcher' of github.com:0xProject/0x.js: Add order state watcher tests for LogCancel # Conflicts: # test/order_state_watcher_test.ts
| * Add order state watcher tests for LogCancelLeonid Logvinov2017-11-101-13/+55
| |
* | Fix bug where we hard-coded using pendingBlock for fetching the orderState. ↵Fabio Berger2017-11-101-6/+6
|/ | | | Moved numConfirmations to become a global orderStateWatcher config
* Add nested config for orderWatcherFabio Berger2017-11-101-1/+1
|
* Pass numConfirmationsLeonid Logvinov2017-11-101-2/+2
|
* Removed unused order adding in testsLeonid Logvinov2017-11-101-1/+0
|
* Add a test that a second subscription failsLeonid Logvinov2017-11-101-0/+14
|
* fix merge conflictsFabio Berger2017-11-101-85/+116
|\
| * Add tests for order removalsLeonid Logvinov2017-11-101-85/+116
| |
| * Pass orderHash instead of an order to removeOrder and adjust the testsLeonid Logvinov2017-11-101-1/+1
| |
| * Rename test file and add test for a partial fillFabio Berger2017-11-101-0/+165
|
* Add numConfirmations arg so that caller can decide on numConfirmations at ↵Fabio Berger2017-11-101-4/+5
| | | | which they want to watch orders
* Rename test file and add test for a partial fillFabio Berger2017-11-091-0/+165