aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2017-11-12 01:33:05 +0800
committerJacob Evans <jacob@dekz.net>2017-11-12 01:33:05 +0800
commitee73659f16dd70f15fa883e8d512e0da893b1393 (patch)
tree9c0a53ac8914d7c712587f4e08c19b1d1d385a4f
parent394417ff073c54ba7409ac24004a9757935688cb (diff)
downloaddexon-0x-contracts-ee73659f16dd70f15fa883e8d512e0da893b1393.tar.gz
dexon-0x-contracts-ee73659f16dd70f15fa883e8d512e0da893b1393.tar.zst
dexon-0x-contracts-ee73659f16dd70f15fa883e8d512e0da893b1393.zip
Check for null rather than undefined
-rw-r--r--test/subscription_test.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/subscription_test.ts b/test/subscription_test.ts
index 64e9acf0d..985fdc1d6 100644
--- a/test/subscription_test.ts
+++ b/test/subscription_test.ts
@@ -65,7 +65,6 @@ describe('SubscriptionTest', () => {
it('Should receive the Error when an error occurs', (done: DoneCallback) => {
(async () => {
const callback = (err: Error, logEvent: LogEvent<ApprovalContractEventArgs>) => {
- expect(err).to.not.be.undefined();
expect(err).to.not.be.null();
expect(logEvent).to.be.undefined();
done();