activate method
Implementation
String activate(String content, {required ExecutionMode mode}) {
var updated = content;
final testsDir = testsDirRelative;
if (testsDir != null) {
final testAssetLines = _testAssetLines(testsDir);
if (testAssetLines != null) {
updated = _activateTestAssets(updated, testsDir, testAssetLines);
}
}
if (mode == ExecutionMode.integration) {
updated = _activateIntegrationDependency(updated);
}
return updated;
}