emiloberg/node-red-contrib-mopidy

View on GitHub
.wallaby.js

Summary

Maintainability
A
0 mins
Test Coverage
var babel = require('babel');

module.exports = function (wallaby) {
    return {
        files: [
            'src/*.js',
            'src/**/*.js',
            'test/_resources/*',
            'test/*.js',
            'node_modules/node-red/*.js',
            'node_modules/node-red/**/*.js',
            'node_modules/node-red/*.json',
            'node_modules/node-red/**/*.json',
            '!node_modules/**/test/*.js',
            '!node_modules/**/test/**/*.js'
        ],
        tests: [
            'test/spec/*.test.js',
            '!test/spec/*.server.test.js'
        ],
        testFramework: 'mocha',
        debug: false,
        compilers: {
            'src/*.js': wallaby.compilers.babel({ babel: babel, stage: 1 }),
            'src/**/*.js': wallaby.compilers.babel({ babel: babel, stage: 1 }),
            'test/spec/*.js': wallaby.compilers.babel({ babel: babel, stage: 1 })
        },
        env: {
            type: 'node'
        },
        workers: {
            initial: 1,
            regular: 1
        }
    };
};