diff options
author | Azul <azul@riseup.net> | 2017-03-23 14:12:30 +0100 |
---|---|---|
committer | Azul <azul@riseup.net> | 2017-03-23 14:12:30 +0100 |
commit | 372b15afed0b7477bd83062feaa7f24c4d40e38d (patch) | |
tree | 0e901532c839d7d0db922cb97d064df279090116 /app/assets/javascripts/srp/karma.conf.js | |
parent | ac4cf4a1da4dcc697f1f5219f0073c5991a135e0 (diff) |
git subrepo clone https://leap.se/git/srp_js app/assets/javascripts/srp
subrepo:
subdir: "app/assets/javascripts/srp"
merged: "9e1a417"
upstream:
origin: "https://leap.se/git/srp_js"
branch: "master"
commit: "9e1a417"
git-subrepo:
version: "0.3.1"
origin: "https://github.com/ingydotnet/git-subrepo"
commit: "a7ee886"
Diffstat (limited to 'app/assets/javascripts/srp/karma.conf.js')
m--------- | app/assets/javascripts/srp | 0 | ||||
-rw-r--r-- | app/assets/javascripts/srp/karma.conf.js | 81 |
2 files changed, 81 insertions, 0 deletions
diff --git a/app/assets/javascripts/srp b/app/assets/javascripts/srp deleted file mode 160000 -Subproject 9e1a41733468d4a3f5102b04277b9cd7b52d0a4 diff --git a/app/assets/javascripts/srp/karma.conf.js b/app/assets/javascripts/srp/karma.conf.js new file mode 100644 index 0000000..6eec6d9 --- /dev/null +++ b/app/assets/javascripts/srp/karma.conf.js @@ -0,0 +1,81 @@ +// Karma configuration +// Generated on Tue Sep 15 2015 01:01:08 GMT+0200 (CEST) + +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: [ + // dependencies + 'lib/*.js', + 'node_modules/jquery/dist/jquery.min.js', + + // src + 'src/srp.js', + 'src/*.js', + 'src/jqueryRest.js', + + // devDependencies + 'node_modules/sinon/pkg/sinon.js', + 'node_modules/jasmine-jquery/lib/jasmine-jquery.js', + + // spec + 'spec/spec_helper.js', + 'spec/*.js' + ], + + + // list of files to exclude + exclude: [ + 'spec/lib/jasmine/*.js' + ], + + + // preprocess matching files before serving them to the browser + // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor + preprocessors: { + }, + + + // test results reporter to use + // possible values: 'dots', 'progress' + // available reporters: https://npmjs.org/browse/keyword/karma-reporter + reporters: ['progress'], + + + // 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, + + + // start these browsers + // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher + browsers: ['PhantomJS'], + + + // Continuous Integration mode + // if true, Karma captures browsers, runs the tests and exits + singleRun: false + }); +}; |