mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-11 03:16:48 +03:00
24 lines
558 B
JavaScript
24 lines
558 B
JavaScript
|
'use strict';
|
||
|
|
||
|
const loadJson = require('./tests/e2e/helpers').loadJson;
|
||
|
exports.config = {
|
||
|
specs: ['./tests/e2e/**/*.js'],
|
||
|
capabilities: {
|
||
|
browserName: 'chrome'
|
||
|
},
|
||
|
baseUrl: 'http://localhost:3000',
|
||
|
framework: 'jasmine2',
|
||
|
onPrepare: function() {
|
||
|
// load APIs.guru list
|
||
|
return loadJson('https://apis-guru.github.io/api-models/api/v1/list.json').then((list) => {
|
||
|
global.apisGuruList = list;
|
||
|
});
|
||
|
},
|
||
|
directConnect: true,
|
||
|
useAllAngular2AppRoots: true,
|
||
|
jasmineNodeOpts: {
|
||
|
showTiming: true,
|
||
|
showColors: true
|
||
|
}
|
||
|
};
|