From 9e0da8966b6fad84abe68c66c24ec10e50845551 Mon Sep 17 00:00:00 2001 From: Guillaume ARM Date: Wed, 5 Jul 2023 10:35:48 +0200 Subject: [PATCH] fix(Subscription): remove useless old test --- src/__tests__/Subscription.spec.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/__tests__/Subscription.spec.ts b/src/__tests__/Subscription.spec.ts index 903728d..46ca54d 100644 --- a/src/__tests__/Subscription.spec.ts +++ b/src/__tests__/Subscription.spec.ts @@ -51,13 +51,6 @@ const testSubscription = (SubscriptionClass: SubscriptionConstructor) => () => { expect(additionalTeardown).toBeCalledTimes(1); }); - it('[add] should return a new subscription when adding a teardown', () => { - const parentSub = new SubscriptionClass(); - const childSub = parentSub.add(Rx.noop); - - expect(parentSub).not.toBe(childSub); - }); - it('[add] should be able to unsubscribe partially using child subscription', () => { const parentTeardown = jest.fn(); const childTeardown = jest.fn();