Skip to content

Commit 6d79ada

Browse files
committed
fix: protocol test prettier fix
1 parent 6827402 commit 6d79ada

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

tests/driftClient.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,9 @@ describe('drift client', () => {
423423
assert.ok(orderActionRecord.baseAssetAmountFilled.eq(new BN(24000000000)));
424424
assert.ok(orderActionRecord.quoteAssetAmountFilled.eq(new BN(24000000)));
425425
assert.ok(orderActionRecord.marketIndex === 0);
426-
assert.ok(orderActionRecord.takerExistingQuoteEntryAmount.eq(new BN(24000000)));
426+
assert.ok(
427+
orderActionRecord.takerExistingQuoteEntryAmount.eq(new BN(24000000))
428+
);
427429
assert.ok(orderActionRecord.takerExistingBaseAssetAmount === null);
428430
});
429431

@@ -491,8 +493,12 @@ describe('drift client', () => {
491493
assert.ok(orderActionRecord.baseAssetAmountFilled.eq(new BN(48000000000)));
492494
assert.ok(orderActionRecord.quoteAssetAmountFilled.eq(new BN(48000000)));
493495

494-
assert.ok(orderActionRecord.takerExistingQuoteEntryAmount.eq(new BN(24000001)));
495-
assert.ok(orderActionRecord.takerExistingBaseAssetAmount.eq(new BN(24000000000)));
496+
assert.ok(
497+
orderActionRecord.takerExistingQuoteEntryAmount.eq(new BN(24000001))
498+
);
499+
assert.ok(
500+
orderActionRecord.takerExistingBaseAssetAmount.eq(new BN(24000000000))
501+
);
496502

497503
assert.ok(orderActionRecord.marketIndex === 0);
498504
});
@@ -541,7 +547,9 @@ describe('drift client', () => {
541547
assert.ok(orderActionRecord.quoteAssetAmountFilled.eq(new BN(24000000)));
542548
assert.ok(orderActionRecord.marketIndex === 0);
543549

544-
assert.ok(orderActionRecord.takerExistingQuoteEntryAmount.eq(new BN(24000000)));
550+
assert.ok(
551+
orderActionRecord.takerExistingQuoteEntryAmount.eq(new BN(24000000))
552+
);
545553
assert.ok(orderActionRecord.takerExistingBaseAssetAmount === null);
546554
});
547555

0 commit comments

Comments
 (0)