Skip to content

Commit

Permalink
Revert "Meh…" (#79)
Browse files Browse the repository at this point in the history
* Revert "Meh…"

This reverts commit 2590f76.

* Test on macOS and Windows
  • Loading branch information
lpinca authored and TooTallNate committed Oct 4, 2019
1 parent 6c804a2 commit 5252bb9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
sudo: false

language: node_js

node_js:
Expand All @@ -8,8 +6,13 @@ node_js:
- "10"
- "12"

os:
- linux
- osx
- windows

install:
- PATH="`npm bin`:`npm bin -g`:$PATH"
# - PATH="`npm bin`:`npm bin -g`:$PATH"
# Install dependencies and build
- npm install

Expand Down
8 changes: 4 additions & 4 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,23 +71,23 @@ describe('HttpsProxyAgent', function () {

// shut down test HTTP server
after(function (done) {
server.once('close', function () { done(); });
server.close();
done();
});

after(function (done) {
proxy.once('close', function () { done(); });
proxy.close();
done();
});

after(function (done) {
sslServer.once('close', function () { done(); });
sslServer.close();
done();
});

after(function (done) {
sslProxy.once('close', function () { done(); });
sslProxy.close();
done();
});

describe('constructor', function () {
Expand Down

0 comments on commit 5252bb9

Please sign in to comment.