Skip to content

Commit

Permalink
Suporte a proxy para baixar webdriver nos testes E2E.
Browse files Browse the repository at this point in the history
  • Loading branch information
juliomelo committed Dec 11, 2017
1 parent 865fb0b commit 2c39c86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ module.exports = function (grunt) {
require("matchdep").filterAll("grunt-*").forEach(grunt.loadNpmTasks);
var webpack = require("webpack");
var webpackConfig = require("./webpack.config.js");
var webDriverProxy = process.env.http_proxy ? ' --proxy ' + process.env.http_proxy : '';

grunt.initConfig({
exec: {
updateWebdriver: 'node node_modules/protractor/bin/webdriver-manager update'
updateWebdriver: 'node node_modules/protractor/bin/webdriver-manager update' + webDriverProxy
},
karma: {
unit: {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2c39c86

Please sign in to comment.