Skip to content

Commit 2ef0a2e

Browse files
committed
ci: http_proxy using by node, rename it
1 parent 7273ebd commit 2ef0a2e

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

__tests__/agenda.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let httpClient = {};
66
// use proxy over Travis
77
if (process.env.TRAVIS) {
88
httpClient = {
9-
httpsAgent: new HttpsProxyAgent(process.env.HTTP_PROXY)
9+
httpsAgent: new HttpsProxyAgent(process.env.PROXY)
1010
}
1111
}
1212

__tests__/debe.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let httpClient = {};
66
// use proxy over Travis
77
if (process.env.TRAVIS) {
88
httpClient = {
9-
httpsAgent: new HttpsProxyAgent(process.env.HTTP_PROXY)
9+
httpsAgent: new HttpsProxyAgent(process.env.PROXY)
1010
}
1111
}
1212

__tests__/entries.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let httpClient = {};
66
// use proxy over Travis
77
if (process.env.TRAVIS) {
88
httpClient = {
9-
httpsAgent: new HttpsProxyAgent(process.env.HTTP_PROXY)
9+
httpsAgent: new HttpsProxyAgent(process.env.PROXY)
1010
}
1111
}
1212

__tests__/entry.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let httpClient = {};
66
// use proxy over Travis
77
if (process.env.TRAVIS) {
88
httpClient = {
9-
httpsAgent: new HttpsProxyAgent(process.env.HTTP_PROXY)
9+
httpsAgent: new HttpsProxyAgent(process.env.PROXY)
1010
}
1111
}
1212

__tests__/questions.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let httpClient = {};
66
// use proxy over Travis
77
if (process.env.TRAVIS) {
88
httpClient = {
9-
httpsAgent: new HttpsProxyAgent(process.env.HTTP_PROXY)
9+
httpsAgent: new HttpsProxyAgent(process.env.PROXY)
1010
}
1111
}
1212

__tests__/tags.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let httpClient = {};
66
// use proxy over Travis
77
if (process.env.TRAVIS) {
88
httpClient = {
9-
httpsAgent: new HttpsProxyAgent(process.env.HTTP_PROXY)
9+
httpsAgent: new HttpsProxyAgent(process.env.PROXY)
1010
}
1111
}
1212

__tests__/todayInHistory.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let httpClient = {};
66
// use proxy over Travis
77
if (process.env.TRAVIS) {
88
httpClient = {
9-
httpsAgent: new HttpsProxyAgent(process.env.HTTP_PROXY)
9+
httpsAgent: new HttpsProxyAgent(process.env.PROXY)
1010
}
1111
}
1212

__tests__/user.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let httpClient = {};
66
// use proxy over Travis
77
if (process.env.TRAVIS) {
88
httpClient = {
9-
httpsAgent: new HttpsProxyAgent(process.env.HTTP_PROXY)
9+
httpsAgent: new HttpsProxyAgent(process.env.PROXY)
1010
}
1111
}
1212

0 commit comments

Comments
 (0)