当我有190次测试时,jenkins可以运行得很好,在191之后我得到以下错误:
Chrome 64.0.3282(Linux 0.0.0)错误{"消息":"脚本错误。\ nat :0:0"," str":"脚本错误。\ nat:0:0" }
有人可以告诉我这是什么意思吗?
Karma版本(karma的输出--version):2.0.0
karma.config.js文件的相关部分
module.exports = function (config)
{
config.set({
basePath: '',
frameworks: ['jasmine', '@angular/cli'],
plugins: [
require('karma-jasmine'),
require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'),
require('karma-coverage-istanbul-reporter'),
require('@angular/cli/plugins/karma')
],
client: {
clearContext: false
},
files: [
{ pattern: './src/test.ts', watched: false }
],
preprocessors: {
'./src/test.ts': ['@angular/cli'],
},
mime: {
'text/x-typescript': ['ts', 'tsx']
},
coverageIstanbulReporter: {
reports: ['html', 'lcovonly'],
fixWebpackSourcePaths: true
},
angularCli: {
environment: 'dev'
},
```
reporters: config.angularCli && config.angularCli.codeCoverage
? ['progress', 'coverage-istanbul']
: ['progress', 'kjhtml'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome_no_sandbox', 'Chrome'], customLaunchers: {
Chrome_no_sandbox: {
base: 'Chrome',
flags: ['--no-sandbox'] // for running within Docker
}
},
singleRun: false,
colors: true
});
};`