TestHost constructor
TestHost(})
Implementation
TestHost(
List<BaseService Function()> factories, {
bool failWithServices = true,
List<String> args = const <String>[],
Map<String, dynamic> config = const <String, dynamic>{},
}) : super(
factories,
failWithServices: failWithServices,
args: args,
config: {
'datahub': {
'log': 'debug',
'environment': 'dev',
'serviceName': 'unit-test',
'metrics': {
'enableEndpoint': false,
}
},
...config,
},
);