scottohara/loot

View on GitHub
karma.common.js

Summary

Maintainability
A
0 mins
Test Coverage
module.exports = {
    // Base path that will be used to resolve all patterns (eg. files, exclude)
    basePath: "",

    /*
     * Frameworks to use
     * available frameworks: https://npmjs.org/browse/keyword/karma-adapter
     */
    frameworks: ["mocha", "chai-sinon", "webpack"],

    // List of files / patterns to load in the browser
    files: ["src/index.test.js"],

    mochaReporter: {
        showDiff: true,
    },

    // Web server port
    port: 9876,

    // Enable / disable colors in the output (reporters and logs)
    colors: true,

    /*
     * Level of logging
     * possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
     */
    logLevel: "INFO",
};