fix(Subscription): remove useless old test
This commit is contained in:
parent
85696e2ec2
commit
9e0da8966b
@ -51,13 +51,6 @@ const testSubscription = (SubscriptionClass: SubscriptionConstructor) => () => {
|
|||||||
expect(additionalTeardown).toBeCalledTimes(1);
|
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', () => {
|
it('[add] should be able to unsubscribe partially using child subscription', () => {
|
||||||
const parentTeardown = jest.fn();
|
const parentTeardown = jest.fn();
|
||||||
const childTeardown = jest.fn();
|
const childTeardown = jest.fn();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user