Skip to content

Commit

Permalink
#410: typescript config files
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Buhtoyarov committed May 2, 2024
1 parent 9d807a8 commit aaf7491
Show file tree
Hide file tree
Showing 11 changed files with 14,176 additions and 0 deletions.
36 changes: 36 additions & 0 deletions typescript/karma.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
const webpackConfig = require('./webpack.config.js');
webpackConfig.mode = 'production';

module.exports = function(config) {
config.set({
singleRun: true,

browsers: [
'PhantomJS'
],

frameworks: [
'jasmine'
],

files: [
'spec.bundle.js'
],

preprocessors: {
'spec.bundle.js': ['webpack']
},

webpack: webpackConfig,

webpackMiddleware: {
stats: 'errors-only'
},

plugins: [
require('karma-jasmine'),
require('karma-phantomjs-launcher'),
require('karma-webpack')
]
});
};

0 comments on commit aaf7491

Please sign in to comment.