TestLive
Other
Signature
declare function make(services: Context<DefaultServices>): TestLive;Signature
declare const TestLive: Tag<TestLive, TestLive>;Signature
interface TestLive {
readonly [TestLiveTypeId]: typeof TestLiveTypeId;
provide<A, E, R>(effect: Effect<A, E, R>): Effect<A, E, R>;
}TestLiveTypeId
Added in v2.0.0
Source
Signature
declare const TestLiveTypeId: unique symbol;TestLiveTypeId type
Added in v2.0.0
Source
Signature
type TestLiveTypeId = typeof TestLiveTypeId;
The
Livetrait provides access to the "live" default Effect services from within tests for workflows such as printing test results to the console or timing out tests where it is necessary to access the real implementations of these services.