chore(docs): configure the base path for protractor tests in examples

Updates to dgeni-packages 0.10.5 which supports this configurability.
Change the dgeni config and protractor config so that we can have protractor
tests that are hosted outside the build/docs folder.

Provides support for https://github.com/angular/angular.js/pull/9557#discussion_r18977324
This commit is contained in:
Peter Bacon Darwin
2014-10-19 10:28:03 +01:00
committed by Caitlin Potter
parent d97b427656
commit 762713e660
3 changed files with 4 additions and 2 deletions

View File

@@ -157,6 +157,8 @@ module.exports = new Package('angularjs', [
jqueryDeployment
];
generateProtractorTestsProcessor.basePath = 'build/docs/';
generateExamplesProcessor.deployments = [
debugDeployment,
defaultDeployment,

2
npm-shrinkwrap.json generated
View File

@@ -1329,7 +1329,7 @@
}
},
"dgeni-packages": {
"version": "0.10.3",
"version": "0.10.5",
"dependencies": {
"catharsis": {
"version": "0.7.1"

View File

@@ -3,7 +3,7 @@
exports.config = {
allScriptsTimeout: 11000,
baseUrl: 'http://localhost:8000/build/docs/',
baseUrl: 'http://localhost:8000/',
framework: 'jasmine',