All files / lib index.js

100% Statements 17/17
100% Branches 16/16
100% Functions 8/8
100% Lines 17/17

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82                                1x     1x 1x               1x 1x         1x 1x               1x 1x         1x 1x               1x 1x               1x 1x               1x 1x        
"use strict";
/**
 * `GlaceJS` main module.
 *
 * @module
 *
 * @prop {object} config - {@link module:config|Config} module.
 * @prop {object} error - {@link module:error|Error} module.
 * @prop {function} help - {@link module:help|Help} module.
 * @prop {object} reporter - {@link module:reporter/index|Reporter} module.
 * @prop {object} run - {@link module:run|run} module.
 * @prop {object} Steps - {@link module:steps|Steps} module.
 */
 
var allure, config, error, help, plugins, reporter, run, Steps;
 
Object.defineProperties(exports, {
    allure: {
        get: function () {
            allure = allure || require("./allure");
            return allure;
        },
    },
    /**
     * @type {GlaceConfig}
     */
    config: {
        get: function() {
            config = config || require("./config");
            return config;
        },
    },
    error: {
        get: function() {
            error = error || require("./error");
            return error;
        },
    },
    /**
     * Help.
     */
    help: {
        get: function () {
            help = help || require("./help");
            return help;
        },
    },
    plugins: {
        get: function () {
            plugins = plugins || require("./plugins");
            return plugins;
        },
    },
    /**
     * @type {GlaceReporter}
     */
    reporter: {
        get: function() {
            reporter = reporter || require("./reporter");
            return reporter;
        },
    },
    /**
     * @type {run}
     */
    run: {
        get: function() {
            run = run || require("./run");
            return run;
        },
    },
    /**
     * @type {Steps}
     */
    Steps: {
        get: function() {
            Steps = Steps || require("./steps");
            return Steps;
        },
    },
});