Skip to content

Commit 5252bb9

Browse files
lpincaTooTallNate
authored andcommitted
Revert "Meh…" (#79)
* Revert "Meh…" This reverts commit 2590f76. * Test on macOS and Windows
1 parent 6c804a2 commit 5252bb9

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
sudo: false
2-
31
language: node_js
42

53
node_js:
@@ -8,8 +6,13 @@ node_js:
86
- "10"
97
- "12"
108

9+
os:
10+
- linux
11+
- osx
12+
- windows
13+
1114
install:
12-
- PATH="`npm bin`:`npm bin -g`:$PATH"
15+
# - PATH="`npm bin`:`npm bin -g`:$PATH"
1316
# Install dependencies and build
1417
- npm install
1518

test/test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,23 +71,23 @@ describe('HttpsProxyAgent', function () {
7171

7272
// shut down test HTTP server
7373
after(function (done) {
74+
server.once('close', function () { done(); });
7475
server.close();
75-
done();
7676
});
7777

7878
after(function (done) {
79+
proxy.once('close', function () { done(); });
7980
proxy.close();
80-
done();
8181
});
8282

8383
after(function (done) {
84+
sslServer.once('close', function () { done(); });
8485
sslServer.close();
85-
done();
8686
});
8787

8888
after(function (done) {
89+
sslProxy.once('close', function () { done(); });
8990
sslProxy.close();
90-
done();
9191
});
9292

9393
describe('constructor', function () {

0 commit comments

Comments
 (0)