summaryrefslogtreecommitdiff
path: root/static/website/bootstrap-css/bower_components/smooth-scroll/test/karma.conf.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/website/bootstrap-css/bower_components/smooth-scroll/test/karma.conf.js')
-rw-r--r--static/website/bootstrap-css/bower_components/smooth-scroll/test/karma.conf.js26
1 files changed, 26 insertions, 0 deletions
diff --git a/static/website/bootstrap-css/bower_components/smooth-scroll/test/karma.conf.js b/static/website/bootstrap-css/bower_components/smooth-scroll/test/karma.conf.js
new file mode 100644
index 0000000..c140e5e
--- /dev/null
+++ b/static/website/bootstrap-css/bower_components/smooth-scroll/test/karma.conf.js
@@ -0,0 +1,26 @@
+module.exports = function (config) {
+ config.set({
+ basePath : '',
+ autoWatch : true,
+ frameworks: ['jasmine'],
+ browsers : ['PhantomJS'],
+ plugins : [
+ 'karma-spec-reporter',
+ 'karma-phantomjs-launcher',
+ 'karma-jasmine',
+ 'karma-coverage',
+ 'karma-htmlfile-reporter'
+ ],
+ reporters : ['spec', 'coverage', 'html'],
+ preprocessors: {
+ '../src/js/**/*.js': 'coverage'
+ },
+ coverageReporter: {
+ type : 'html',
+ dir : 'coverage/'
+ },
+ htmlReporter: {
+ outputFile: 'results/unit-tests.html'
+ }
+ });
+}; \ No newline at end of file