redoc/karma.conf.js

37 lines
1012 B
JavaScript
Raw Normal View History

2015-12-10 00:46:27 +03:00
module.exports = function (config) {
config.set({
frameworks: ['phantomjs-shim', 'jspm', 'mocha', 'chai', 'sinon'],
2015-12-12 22:45:57 +03:00
client: {
chai: {
truncateThreshold: 0
}
},
2015-12-10 00:46:27 +03:00
//load angular dependencies and browser polyfills
files: [
'node_modules/zone.js/dist/zone-microtask.js',
'node_modules/babel-polyfill/dist/polyfill.js',
'node_modules/reflect-metadata/Reflect.js'
],
jspm: {
config: 'system.config.js',
loadFiles: ['tests/**/*.spec.js', 'lib/**/*.js'],
2015-12-10 22:36:11 +03:00
serveFiles: ['tests/schemas/**/*.json'],
2015-12-10 00:46:27 +03:00
nocache: true
},
proxies: {
'/tests/': '/base/tests/',
'/lib/': '/base/lib/',
'/jspm_packages/': '/base/jspm_packages/',
'/node_modules/': '/base/node_modules/',
},
reporters: ['mocha'],
2015-12-10 01:19:46 +03:00
browsers: ['PhantomJS'],
2015-12-10 00:46:27 +03:00
browserNoActivityTimeout: 60000
});
}