From ee73659f16dd70f15fa883e8d512e0da893b1393 Mon Sep 17 00:00:00 2001 From: Jacob Evans Date: Sat, 11 Nov 2017 12:33:05 -0500 Subject: Check for null rather than undefined --- test/subscription_test.ts | 1 - 1 file changed, 1 deletion(-) (limited to 'test') 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) => { - expect(err).to.not.be.undefined(); expect(err).to.not.be.null(); expect(logEvent).to.be.undefined(); done(); -- cgit v1.2.3