UNPKG

angular2-data-table

Version:

angular2-data-table is a Angular2 component for presenting large and complex data.

48 lines (44 loc) 1.13 kB
const testWebpackConfig = require('./webpack.test'); module.exports = function(config) { var configuration = { basePath: '', singleRun: true, frameworks: ['jasmine'], exclude: [], files: [ { pattern: './config/spec-bundle.js', watched: false } ], preprocessors: { './config/spec-bundle.js': ['coverage', 'webpack', 'sourcemap'] }, webpack: testWebpackConfig({ env: 'test' }), webpackMiddleware: { stats: 'errors-only'}, reporters: [ 'mocha', 'coverage', 'remap-coverage' ], port: 9876, colors: true, logLevel: config.LOG_INFO, autoWatch: false, browsers: ['Chrome'], customLaunchers: { ChromeTravisCi: { base: 'Chrome', flags: ['--no-sandbox'] } }, coverageReporter: { type: 'in-memory' }, remapCoverageReporter: { 'text-summary': null, json: './coverage/coverage.json', html: './coverage/html', lcovonly: './coverage/lcov.info' } }; if (process.env.TRAVIS){ configuration.browsers = [ 'ChromeTravisCi' ]; } config.set(configuration); };