pubspecYamlSupportsTest function

bool pubspecYamlSupportsTest(
  1. Map map
)

True if the pubspec.yaml has the test dependency.

Implementation

bool pubspecYamlSupportsTest(Map map) {
  return pubspecYamlHasAnyDependencies(map, ['test']);
}