summaryrefslogtreecommitdiffstats
path: root/karma.conf.js
diff options
context:
space:
mode:
authordotnetCarpenter <jon.ronnenberg@gmail.com>2016-10-04 17:26:58 +0200
committerdotnetCarpenter <jon.ronnenberg@gmail.com>2016-10-04 17:26:58 +0200
commit80b90ace2e402de109007635bb7ee14632d2aff2 (patch)
tree7f027c182662889e5f584dd90ad3823564d07efb /karma.conf.js
parent97cd2b7480b1d318dfab986c2ab8b058beb8d599 (diff)
downloadsvg.js-80b90ace2e402de109007635bb7ee14632d2aff2.tar.gz
svg.js-80b90ace2e402de109007635bb7ee14632d2aff2.zip
cli unit test setup done
Diffstat (limited to 'karma.conf.js')
-rw-r--r--karma.conf.js19
1 files changed, 10 insertions, 9 deletions
diff --git a/karma.conf.js b/karma.conf.js
index 6b8dd54..056213f 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -10,28 +10,29 @@ module.exports = function(config) {
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
- frameworks: ['jasmine', 'fixture'],
+ frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: [
- 'spec/fixture.svg',
+ 'spec/pretest.js',
+ {
+ pattern: 'spec/fixture.svg',
+ included: false,
+ served: true
+ },
'dist/svg.js',
- 'spec/**/*.js'
+ 'spec/spec/**/*.js'
],
// list of files to exclude
- exclude: [
- 'spec/lib/**/*.js'
- ],
+ exclude: [],
// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
- preprocessors: {
- '**/*.html': ['html2js']
- },
+ preprocessors: {},
// test results reporter to use