@Override
    public void run() {
        if (processor != null) {
            processor.execute();
        } else {
            if (!beforeHook()) {
                logger.info("before-feature hook returned [false], aborting: {}", this);
            } else {
                scenarios.forEachRemaining(this::processScenario);
            }
            afterFeature();
        }
    }
@Test
    void testCallJsFromFeatureUtilsDefinedInKarateConfig() {
        run("karate-config-fn.feature", "classpath:com/intuit/karate/core/");
        matchContains(fr.result.getVariables(), "{ helloVar: 'hello world' }");
    }