aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-01-17 23:22:47 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-17 23:22:47 +0800
commit278f68ae770b810960b761bd9eb7b57a24975253 (patch)
treeacc67e205d5613caa5a17a559d6c42d12bb37423 /packages/0x.js/test
parent771f65c8582c48095d812b49e58ee5563f3329a9 (diff)
downloaddexon-0x-contracts-278f68ae770b810960b761bd9eb7b57a24975253.tar.gz
dexon-0x-contracts-278f68ae770b810960b761bd9eb7b57a24975253.tar.zst
dexon-0x-contracts-278f68ae770b810960b761bd9eb7b57a24975253.zip
Fix the typos
Diffstat (limited to 'packages/0x.js/test')
-rw-r--r--packages/0x.js/test/exchange_wrapper_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/0x.js/test/exchange_wrapper_test.ts b/packages/0x.js/test/exchange_wrapper_test.ts
index 3e4c40b15..d2a2149a0 100644
--- a/packages/0x.js/test/exchange_wrapper_test.ts
+++ b/packages/0x.js/test/exchange_wrapper_test.ts
@@ -550,7 +550,7 @@ describe('ExchangeWrapper', () => {
const remainingFillAmount = fillableAmount.minus(1);
expect(anotherFilledAmount).to.be.bignumber.equal(remainingFillAmount);
});
- it('should successfully fill up to specified amount even if filling all orders will fail', async () => {
+ it('should successfully fill up to specified amount even if filling all orders would fail', async () => {
const missingBalance = new BigNumber(1); // User will still have enough balance to fill up to 9,
// but won't have 10 to fully fill all orders in a batch.
await zeroEx.token.transferAsync(makerTokenAddress, makerAddress, coinbase, missingBalance);
@@ -569,8 +569,8 @@ describe('ExchangeWrapper', () => {
});
});
describe('failed batch fills', () => {
- it("should fail validation if user doesn't have enough balance wo fill up to", async () => {
- const missingBalance = new BigNumber(2); // User will only have anough balance to fill up to 8
+ it("should fail validation if user doesn't have enough balance without fill up to", async () => {
+ const missingBalance = new BigNumber(2); // User will only have enough balance to fill up to 8
await zeroEx.token.transferAsync(makerTokenAddress, makerAddress, coinbase, missingBalance);
return expect(
zeroEx.exchange.fillOrdersUpToAsync(