| Server IP : 144.76.79.100 / Your IP : 216.73.216.103 [ Web Server : Apache System : Linux ch05.wehostwebserver.com 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64 User : razzlestore ( 1092) PHP Version : 8.2.29 Disable Function : NONE Domains : 343 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/public_html/assets/admin/jodit/ |
Upload File : |
const webpackConfig = require('./webpack.config')([], {
uglify: true
});
module.exports = function(config) {
config.set({
basePath: '',
frameworks: ['mocha', 'chai'],
mime: {
'text/css': ['css'],
'text/x-typescript': ['ts','tsx'],
'image/jpeg': ['jpg'],
},
files: [
{pattern: './test/tests/artio.jpg', watched: false, included: false, served: true},
{pattern: './test/test.index.html', watched: false, included: false, served: true},
'app.css',
'src/index.ts',
'node_modules/synchronous-promise/dist/synchronous-promise.js',
'test/bootstrap.js',
'test/tests/*.js',
'test/tests/units/*.js',
'test/tests/plugins/*.js',
],
proxies: {
"/tests/artio.jpg" : "/base/test/tests/artio.jpg",
"/test.index.html" : "/base/test/test.index.html"
},
reporters: ['progress'],
port: 2002,
hostname: '127.0.0.1',
colors: true,
logLevel: config.LOG_INFO,
browsers: ['ChromeHeadless', 'IE', 'IE9', 'Firefox'],
customLaunchers: {
IE9: {
base: 'IE',
'x-ua-compatible': 'IE=EmulateIE9'
},
ChromeHeadless: {
base: 'Chrome',
flags: [
'--window-size=1920,1000',
'--disable-gpu',
//'--headless', //not work in chrome 60
'--disable-extensions',
'--disable-translate',
]
}
},
autoWatch: true,
singleRun: false, // Karma captures browsers, runs the tests and exits
concurrency: Infinity,
preprocessors: {
'src/index.ts': ['webpack'],
},
plugins: [
'karma-ie-launcher',
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-mocha',
'karma-chai',
'karma-webpack',
'karma-sourcemap-loader'
],
webpack: webpackConfig,
client: {
captureConsole: true
},
webpackMiddleware: {
quiet: true,
stats: {
chunks: false
},
noInfo:true,
}
})
};
;