fix(Subscription): remove useless old test

This commit is contained in:
Guillaume ARM 2023-07-05 10:35:48 +02:00
parent 85696e2ec2
commit 9e0da8966b

View File

@ -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();