live
A collection of “live” dependencies.
static var live: `Self` { get }
A useful starting point for working with live dependencies.
For example, if you want to write a test that exercises your application’s live dependencies (rather than its test dependencies, which is the default), you can override the test’s dependencies with a live value:
func testLiveDependencies() {
withDependencies { $0 = .live } operation: {
// Make assertions using live dependencies...
}
}