Files: 8581d6b0616fcc78fc397b1529105c5dde79c69b / karma.conf.js
568 bytesRaw
1 | // https://github.com/Nikku/karma-browserify |
2 | module.exports = function (config) { |
3 | config.set({ |
4 | browsers: ['PhantomJS'], |
5 | frameworks: ['browserify', 'jasmine'], |
6 | files: ['test/unit/**/*.js'], |
7 | reporters: ['spec'], |
8 | preprocessors: { |
9 | 'test/unit/**/*.js': ['browserify'] |
10 | }, |
11 | browserify: { |
12 | debug: true, |
13 | // needed to enable mocks |
14 | plugin: [require('proxyquireify').plugin] |
15 | }, |
16 | // if you want to continuously re-run tests on file-save, |
17 | // replace the following line with `autoWatch: true` |
18 | singleRun: true |
19 | }) |
20 | } |
21 |
Built with git-ssb-web