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 | 2x 2x 2x 2x 6x 1x 5x 6x 6x 6x 6x 1x 6x 2x | "use strict";
/**
 * GlaceJS reporter package.
 *
 * @module
 */
 
const CONF = require("../config");
const plugins = require("../plugins");
 
const base = require("./base");
 
const main = () => {
    if (CONF.report.dots) {
        base.register(require("./dots"));
    } else {
        base.register(require("./stdout"));
    };
 
    if (CONF.testrail.use) base.register(require("./testrail"));
    if (CONF.xunit.use) base.register(require("./xunit"));
    if (CONF.allure.use) base.register(require("./allure"));
 
    for (const reporter of plugins.getModules("reporter")) {
        base.register(reporter);
    }
    return base;
};
 
module.exports = main();
  |