We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
experimental
1 parent 60944a9 commit df463e5Copy full SHA for df463e5
javascript/extractor/test/com/semmle/js/extractor/test/NodeJSDetectorTests.java
@@ -11,7 +11,9 @@
11
import org.junit.Test;
12
13
public class NodeJSDetectorTests {
14
- private static final ExtractorConfig CONFIG = new ExtractorConfig(false);
+ // using `experimental: true` as we do in real extractor, see `extractSource` method
15
+ // in `AutoBuild.java`
16
+ private static final ExtractorConfig CONFIG = new ExtractorConfig(true);
17
18
private void isNodeJS(String src, boolean expected) {
19
Result res = JSParser.parse(CONFIG, SourceType.SCRIPT, src, new ExtractionMetrics());
0 commit comments