Use rawgit to serve petstore.json spec

This commit is contained in:
Kyle Shockey
2018-01-09 16:01:48 -06:00
parent daa1ce8acf
commit f151f67c45
+5 -1
View File
@@ -4,7 +4,11 @@ var cbt = require("cbt_tunnels")
module.exports = {
baseAppUrl: "http://swagger-ui-ci-asset-deployment-test.surge.sh",
specPath: "http://local:3204/petstore.json",
// use rawgit.com to get test/e2e/specs/petstore.json from master
// not a great solution, but CBT's proxy is too slow to fetch
// the data directly.
specPath: "https://rawgit.com/swagger-api/swagger-ui/master/test/e2e/specs/petstore.json",
visibleTimeout: 10000,
beforeEach: function(done) {