Fix test description

This commit is contained in:
Leonid Logvinov 2017-12-20 14:45:35 +01:00
parent 01bc254cd0
commit 455f74d449
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4

View File

@ -232,7 +232,7 @@ describe('EtherTokenWrapper', () => {
); );
})().catch(done); })().catch(done);
}); });
it('Outstanding subscriptions are cancelled when zeroEx.setProvider called', (done: DoneCallback) => { it('should cancel outstanding subscriptions when ZeroEx.setProvider is called', (done: DoneCallback) => {
(async () => { (async () => {
const callbackNeverToBeCalled = (err: Error, logEvent: DecodedLogEvent<ApprovalContractEventArgs>) => { const callbackNeverToBeCalled = (err: Error, logEvent: DecodedLogEvent<ApprovalContractEventArgs>) => {
done(new Error('Expected this subscription to have been cancelled')); done(new Error('Expected this subscription to have been cancelled'));