module.exports.getPluginVariable = function()

in spec/helpers.js [163:172]


module.exports.getPluginVariable = function (appPath, plugin, variable) {
    appPath = getConfigPath(appPath);
    const parser = new ConfigParser(appPath);
    const p = parser.getPlugin(plugin);

    if (p && p.variables) {
        return p.variables[variable];
    }
    return null;
};