diff options
author | Jacob Evans <jacob@dekz.net> | 2017-11-12 01:33:05 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2017-11-12 01:33:05 +0800 |
commit | ee73659f16dd70f15fa883e8d512e0da893b1393 (patch) | |
tree | 9c0a53ac8914d7c712587f4e08c19b1d1d385a4f /test | |
parent | 394417ff073c54ba7409ac24004a9757935688cb (diff) | |
download | dexon-sol-tools-ee73659f16dd70f15fa883e8d512e0da893b1393.tar dexon-sol-tools-ee73659f16dd70f15fa883e8d512e0da893b1393.tar.gz dexon-sol-tools-ee73659f16dd70f15fa883e8d512e0da893b1393.tar.bz2 dexon-sol-tools-ee73659f16dd70f15fa883e8d512e0da893b1393.tar.lz dexon-sol-tools-ee73659f16dd70f15fa883e8d512e0da893b1393.tar.xz dexon-sol-tools-ee73659f16dd70f15fa883e8d512e0da893b1393.tar.zst dexon-sol-tools-ee73659f16dd70f15fa883e8d512e0da893b1393.zip |
Check for null rather than undefined
Diffstat (limited to 'test')
-rw-r--r-- | test/subscription_test.ts | 1 |
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(); |