hostProcessServiceConfigs function
List<TestServiceConfig>
hostProcessServiceConfigs(
- List<
TestServiceConfig> configured, { - bool hostOwnsServices = const bool.fromEnvironment('ensembleTestHostOwnsServices'),
Services started inside the test process.
When ensembleTestHostOwnsServices is true (CLI integration backend), the
development machine already started fixtures and the device must not spawn
them again.
Implementation
List<TestServiceConfig> hostProcessServiceConfigs(
List<TestServiceConfig> configured, {
bool hostOwnsServices = const bool.fromEnvironment(
'ensembleTestHostOwnsServices',
),
}) =>
hostOwnsServices ? const [] : configured;