applyInPlaceSetup static method
Implementation
static Future<void> applyInPlaceSetup(EnsembleTestContext ctx) async {
final config = Ensemble().getConfig();
if (config != null) {
await applyYamlTestBootstrap(config, ctx.setup);
}
ctx.applyRuntimeEnv();
for (final entry in ctx.testCase.mocks.apis.entries) {
ctx.apiOverlay.setMock(entry.key, entry.value);
}
if (config != null) {
installTestApiOverlay(config, ctx.apiOverlay);
}
}