Fix typos

This commit is contained in:
Leonid Logvinov 2017-11-20 12:54:22 -06:00
parent 83a2abeee4
commit 35668fe225
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4

View File

@ -94,7 +94,7 @@ describe('ExpirationWatcher', () => {
const orderHash = ZeroEx.getOrderHashHex(signedOrder);
expirationWatcher.addOrder(orderHash, signedOrder.expirationUnixTimestampSec);
const callback = reportCallbackErrors(done)((hash: string) => {
done(new Error('Emited expiration vent before the order actually expired'));
done(new Error('Emitted expiration went before the order actually expired'));
});
expirationWatcher.subscribe(callback);
const notEnoughTime = orderLifetimeS - 1;