Ian province abbreviation patch - issue 724
[civicrm-core.git] / karma.conf.js
... / ...
CommitLineData
1module.exports = function(config) {
2 config.set({
3 autoWatch: true,
4 browsers: ['PhantomJS'],
5 exclude: [
6 ],
7 files: [
8 'bower_components/jquery/dist/jquery.min.js',
9 'bower_components/jquery-ui/jquery-ui.min.js',
10 'bower_components/lodash-compat/lodash.min.js',
11 'bower_components/select2/select2.min.js',
12 'packages/jquery/plugins/jquery.blockUI.js',
13 'bower_components/jquery-validation/dist/jquery.validate.min.js',
14 'packages/jquery/plugins/jquery.timeentry.js',
15 'js/Common.js',
16 'bower_components/angular/angular.js',
17 'bower_components/angular-file-upload/angular-file-upload.js',
18 'bower_components/angular-jquery-dialog-service/dialog-service.js',
19 'bower_components/angular-route/angular-route.js',
20 'bower_components/angular-mocks/angular-mocks.js',
21 'bower_components/angular-ui-sortable/sortable.js',
22 'bower_components/angular-ui-utils/ui-utils.js',
23 'bower_components/angular-unsavedChanges/dist/unsavedChanges.js',
24 'tests/karma/modules.js',
25 'js/crm.ajax.js',
26 'ang/*.js',
27 'ang/**/*.js',
28 'tests/karma/lib/*.js',
29 'tests/karma/**/*.js',
30 'ang/**/*.html'
31 ],
32 preprocessors : {
33 'ang/**/*.html' : ['ng-html2js']
34 },
35
36 ngHtml2JsPreprocessor: {
37 stripPrefix: 'ang/',
38 prependPrefix: '~/',
39 moduleName: 'crmResource'
40 },
41 frameworks: ['jasmine'],
42 logLevel: config.LOG_INFO,
43 port: 9876,
44 reporters: ['progress'],
45 junitReporter: {
46 outputFile: 'tests/output/karma.xml',
47 suite: ''
48 },
49 singleRun: false
50 });
51};