Skip to content

Commit a4531c0

Browse files
author
Diabeu
committed
test: change to umd, remove generated info, sort require
1 parent 64181cc commit a4531c0

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

karma.conf.js

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
// Karma configuration
2-
// Generated on Mon Mar 20 2017 15:06:42 GMT+0100 (CET)
32

4-
const commonjs = require('rollup-plugin-commonjs');
53
const angular = require('./dist/rollup-plugin-angular.js');
4+
const commonjs = require('rollup-plugin-commonjs');
65
const nodeResolve = require('rollup-plugin-node-resolve');
76
const typescript = require('rollup-plugin-typescript');
87

@@ -40,16 +39,15 @@ module.exports = function(config) {
4039
// preprocess matching files before serving them to the browser
4140
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
4241
preprocessors: {
43-
'test/karma/*.ts': ['rollup'],
44-
// 'node_modules/@angular/core/@angular/core.es5.js': ['rollup'],
42+
'test/karma/*.ts': ['rollup']
4543
},
4644

4745

4846
rollupPreprocessor: {
4947
context: 'this',
5048
// will help to prevent conflicts between different tests entries
5149
moduleName: 'examplemodule',
52-
format: 'iife',
50+
format: 'umd',
5351
sourceMap: 'inline',
5452
// rollup settings. See Rollup documentation
5553
plugins: [

0 commit comments

Comments
 (0)