mirror of
https://github.com/tenrok/vue-select.git
synced 2026-05-17 02:29:37 +03:00
21 lines
573 B
JavaScript
21 lines
573 B
JavaScript
// https://github.com/Nikku/karma-browserify
|
|
module.exports = function (config) {
|
|
config.set({
|
|
browsers: ['PhantomJS'],
|
|
frameworks: ['browserify', 'jasmine'],
|
|
files: ['test/unit/**/*.js'],
|
|
reporters: ['spec'],
|
|
preprocessors: {
|
|
'test/unit/**/*.js': ['browserify']
|
|
},
|
|
browserify: {
|
|
debug: true,
|
|
// needed to enable mocks
|
|
plugin: [require('proxyquireify').plugin]
|
|
},
|
|
// if you want to continuously re-run tests on file-save,
|
|
// use `autoWatch: true`, otherwise use `singleRun: true`
|
|
singleRun: true
|
|
})
|
|
}
|