UNPKG

@dolittle/sdk.resilience

Version:

Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.

14 lines (9 loc) 461 B
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. import { Subject } from 'rxjs'; import { describeThis } from '@dolittle/typescript.testing'; import { Cancellation } from '../../Cancellation'; describeThis(__filename, () => { const result = new Cancellation(new Subject()) instanceof Cancellation; it('should be', () => result.should.be.true); });