123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- process.env.CHROME_BIN = '/snap/bin/chromium';
-
- module.exports = function(config) {
- config.set({
-
- basePath: '',
-
- exclude: [],
-
- files: [
- 'tests/*.spec.js'
-
-
-
-
-
-
-
-
- ],
-
-
- autoWatch: false,
-
- singleRun: true,
-
- failOnEmptyTestSuite:false,
-
- logLevel: config.LOG_WARN,
-
-
- frameworks: ['jasmine'],
-
- browsers: ['ChromeHeadless'],
-
- reporters: ['mocha' ],
-
-
- listenAddress: '0.0.0.0',
-
- hostname: 'localhost',
-
- port: 9876,
-
- retryLimit:0,
-
- browserDisconnectTimeout: 5000,
-
- browserNoActivityTimeout: 60000,
-
- captureTimeout: 60000,
-
- client: {
-
- captureConsole:false,
-
- clearContext:false,
-
- runInParent: false,
-
- useIframe:true,
- jasmine:{
-
- random: false
- }
- },
-
-
-
- webpack: {
- node: {
- fs: 'empty',
- },
- module: {
- rules: [
- {
- test: /\.js$/,
- exclude: /(node_modules)/,
- use: {
- loader: "babel-loader",
- options: {
- presets: ["@babel/preset-env"]
- }
- }
- },
- {
- test: /\.g4$/,
- exclude: /(node_modules)/,
- use: {
- loader:'antlr4-webpack-loader'
- }
- }
- ]
- },
- },
- preprocessors: {
-
-
-
- 'tests/*.spec.js': ['webpack']
- },
- webpackMiddleware: {
-
- noInfo: true,
- stats: {
- chunks: false
- }
- },
-
-
- mochaReporter: {
- output: 'full'
- }
- });
- };
|