UNPKG

ngx-graph-new

Version:

Modify the ngx-chart version is used

49 lines (45 loc) 1.17 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' }, browserNoActivityTimeout: 30000 }; if (process.env.TRAVIS){ configuration.browsers = [ 'ChromeTravisCi' ]; } config.set(configuration); };