// Copyright (c) 2020 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. // SPDX-License-Identifier: Apache-2.0 var webpackConfig = require('./webpack.config')(); module.exports = function (config) { config.set({ basePath: '', frameworks: ['mocha', 'chai', 'sinon'], files: [ "test/**/*.spec.tsx" ], exclude:[], preprocessors: { 'test/**/*.spec.tsx': ['webpack'] }, webpack: { module: webpackConfig.module, resolve: webpackConfig.resolve }, reporters: ['progress'], port: 9876, colors: true, logLevel: config.LOG_INFO, autoWatch: true, browsers: ['PhantomJS'], singleRun: true, concurrency: Infinity }) }