mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-11 03:16:48 +03:00
31 lines
868 B
JavaScript
31 lines
868 B
JavaScript
|
module.exports = function (config) {
|
||
|
config.set({
|
||
|
frameworks: ['phantomjs-shim', 'jspm', 'mocha', 'chai', 'sinon'],
|
||
|
|
||
|
//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'],
|
||
|
nocache: true
|
||
|
},
|
||
|
|
||
|
proxies: {
|
||
|
'/tests/': '/base/tests/',
|
||
|
'/lib/': '/base/lib/',
|
||
|
'/jspm_packages/': '/base/jspm_packages/',
|
||
|
'/node_modules/': '/base/node_modules/',
|
||
|
},
|
||
|
reporters: ['mocha'],
|
||
|
|
||
|
browsers: ['PhantomJS2'],
|
||
|
|
||
|
browserNoActivityTimeout: 60000
|
||
|
});
|
||
|
}
|