use of io.druid.js.JavaScriptConfig in project druid by druid-io.
the class JavaScriptModuleTest method testInjectionEnabled.
@Test
public void testInjectionEnabled() throws Exception {
final Properties props = new Properties();
props.setProperty("druid.javascript.enabled", "true");
JavaScriptConfig config = makeInjectorWithProperties(props).getInstance(JavaScriptConfig.class);
Assert.assertTrue(config.isEnabled());
}
Aggregations