{"size": 1007, "ext": "js", "max_stars_repo_path": "test/search.js", "max_stars_repo_name": "callumgare/ask-izzy", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "test/search.js", "max_issues_repo_name": "callumgare/ask-izzy", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "test/search.js", "max_forks_repo_name": "callumgare/ask-izzy", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 31.46875, "max_line_length": 118, "alphanum_fraction": 0.6871896723}
/* $FlowIgnore */
/*
 * Enable Yadda in Mocha
 */

require("@babel/register");
require("core-js");
require("regenerator-runtime/runtime");
import Yadda from "yadda";
import libraries from "./search-steps";

Yadda.plugins.mocha.StepLevelPlugin.init();

declare var global: Object;

// Pass through environment variables. Note that we should really be
// using `GLOBAL.ISS_URL = proces.env.ISS_URL;` here, but this would
// set `ISS_URL` to `https://iss3.docker.dev` in CI, which doesn't
// have the data that these tests expect.
global.ISS_URL = "https://UNDFUUWCHWGIJGTGMTBXZJDENAACETNJ:XBKSEBMIGVELOOSTGZFEJHKZWCKAFZUY@api.serviceseeker.com.au";
global.GOOGLE_API_KEY = process.env.GOOGLE_API_KEY;

new Yadda.FeatureFileSearch("./test/search").each(file => {
    featureFile(file, feature => {
        scenarios(feature.scenarios, scenario => {
            steps(scenario.steps, (step, done) => {
                Yadda.createInstance(libraries, {}).run(step, done);
            });
        });
    });
});
