writeTestPackageConfig2 method

void writeTestPackageConfig2({
  1. PackageConfigFileBuilder? config,
  2. String? languageVersion,
})

Writes a package_config.json for the package under test (considered 'package:test') that lives in testPackageRootPath.

Implementation

void writeTestPackageConfig2({
  PackageConfigFileBuilder? config,
  String? languageVersion,
}) {
  writePackageConfig2(
    testPackageRootPath,
    config: config,
    languageVersion: languageVersion,
    packageName: 'test',
  );
}