Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Aborted label #104

Merged
merged 14 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 10 additions & 40 deletions legacy/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
// Karma configuration
// Generated on Sat Aug 01 2015 13:13:27 GMT+0200 (CEST)
const webpackConfig = require('./webpack.config');

module.exports = function (config) {
config.set({

// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',


// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine'],


// list of files / patterns to load in the browser
files: [
'src/test/*.js'
Expand All @@ -24,21 +20,7 @@ module.exports = function (config) {
'src/test/*.js': ['webpack']
},

webpack: {
module : {
preLoaders: [],
loaders: [
{
test: /\.js$/,
exclude: /node_modules/,
loader: 'babel',
query: {
presets: ['es2015']
}
}
]
}
},
webpack: webpackConfig,

webpackMiddleware: {
// webpack-dev-middleware configuration
Expand All @@ -51,49 +33,37 @@ module.exports = function (config) {
}
},

babelPreprocessor: {
options: {
presets: ['es2015'],
sourceMap: 'inline'
}
},

// list of files to exclude
exclude: [
],

exclude: [],

// test results reporter to use
// possible values: 'dots', 'progress'
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters: ['mocha'],


// web server port
port: 9876,


// enable / disable colors in the output (reporters and logs)
colors: true,


// level of logging
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
logLevel: config.LOG_INFO,


// enable / disable watching file and executing tests whenever any file changes
autoWatch: true,


// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['Chrome'],

browsers: ['jsdom'],

// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
singleRun: false
singleRun: false,

})
}
// Concurrency level
// how many browser should be started simultaneous
concurrency: Infinity
});
};
Loading