Switch to APIs.guru API v2

This commit is contained in:
Ivan Goncharov 2016-06-09 20:40:54 +03:00
parent 40b03e993c
commit bf0f44303b

View File

@ -11,7 +11,7 @@ let config = {
// add jasmine spec reporter // add jasmine spec reporter
jasmine.getEnv().addReporter(new SpecReporter({displaySpecDuration: true})); jasmine.getEnv().addReporter(new SpecReporter({displaySpecDuration: true}));
// load APIs.guru list // load APIs.guru list
return loadJson('https://apis-guru.github.io/api-models/api/v1/list.json').then((list) => { return loadJson('https://api.apis.guru/v2/list.json').then((list) => {
global.apisGuruList = list; global.apisGuruList = list;
return browser.getCapabilities().then(function (cap) { return browser.getCapabilities().then(function (cap) {
browser.isIE = cap.browserName === 'internet explorer' browser.isIE = cap.browserName === 'internet explorer'