Skip to content

Commit

Permalink
Merge pull request #678 from ExchangeUnion/fix/command-test
Browse files Browse the repository at this point in the history
test: add hold value to orders
  • Loading branch information
sangaman authored Nov 16, 2018
2 parents 086657b + 8e17bc3 commit 1a49676
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/unit/Command.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ describe('Command.getorders.formatOrders', () => {
createdAt: 1542121316403,
side: 0,
isOwnOrder: true,
hold: 0,
},
{
price: 0.00321,
Expand All @@ -31,6 +32,7 @@ describe('Command.getorders.formatOrders', () => {
createdAt: 1542121316949,
side: 0,
isOwnOrder: true,
hold: 0,
},
],
sellOrdersList: [
Expand All @@ -44,6 +46,7 @@ describe('Command.getorders.formatOrders', () => {
createdAt: 1542121315487,
side: 1,
isOwnOrder: false,
hold: 0,
},
{
price: 0.00859,
Expand All @@ -55,6 +58,7 @@ describe('Command.getorders.formatOrders', () => {
createdAt: 1542121315669,
side: 1,
isOwnOrder: false,
hold: 0,
},
{
price: 0.00458,
Expand All @@ -66,6 +70,7 @@ describe('Command.getorders.formatOrders', () => {
createdAt: 1542121317316,
side: 1,
isOwnOrder: false,
hold: 0,
},
{
price: 0.00725,
Expand All @@ -77,6 +82,7 @@ describe('Command.getorders.formatOrders', () => {
createdAt: 1542121317133,
side: 1,
isOwnOrder: false,
hold: 0,
},
{
price: 0.00458,
Expand All @@ -88,6 +94,7 @@ describe('Command.getorders.formatOrders', () => {
createdAt: 1542121317502,
side: 1,
isOwnOrder: false,
hold: 0,
},
],
},
Expand Down

0 comments on commit 1a49676

Please sign in to comment.