use of com.synopsys.integration.detectable.detectables.npm.cli.NpmCliExtractorOptions in project synopsys-detect by blackducksoftware.
the class NpmCliDetectableTest method testApplicable.
@Test
public void testApplicable() {
NpmResolver npmResolver = null;
NpmCliExtractor npmCliExtractor = null;
DetectableEnvironment environment = MockDetectableEnvironment.empty();
FileFinder fileFinder = MockFileFinder.withFileNamed("package.json");
NpmCliDetectable detectable = new NpmCliDetectable(environment, fileFinder, npmResolver, npmCliExtractor, new NpmCliExtractorOptions(EnumListFilter.fromExcluded(NpmDependencyType.DEV, NpmDependencyType.PEER), ""));
assertTrue(detectable.applicable().getPassed());
}
Aggregations