angular2-state-machine
Version:
Angular 2 State Machine - Angular 2 port for famous state-machine. https://github.com/jakesgordon/javascript-state-machine.
70 lines (57 loc) • 1.75 kB
JavaScript
module.exports = function (config) {
'use strict';
config.set({
basePath: './',
frameworks: ["jasmine"],
// list of files / patterns to load in the browser
files: [
{pattern: 'core.spec.ts', watched: false}
],
// list of files / patterns to exclude
exclude: [],
preprocessors: {
'core.spec.ts': [ 'webpack', 'sourcemap']
},
webpackServer: {
noInfo: true
//progress:false,
//stats: false,
//debug:false
},
// 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: false,
browsers: [
//"Firefox",
//"Chrome",
//"IE",
"PhantomJS"
],
// Continuous Integration mode
// if true, it capture browsers, run tests and exit
singleRun: true,
reporters: ['progress'],
webpack: {
resolve: {
extensions: ['', '.ts', '.js']
},
module: {
loaders: [
{test: /\.ts$/,loader: 'awesome-typescript-loader'}
]
},
stats: {
colors: true,
reasons: true
},
debug: false,
devtool: 'inline-source-map'
}
});
};