Skip to content

Commit

Permalink
Testing domain ping for github.com
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardonunesdev committed Sep 13, 2017
1 parent debead6 commit d5c1551
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

const domainPing = require('./index');

domainPing('github.com')
.then((res) => {
console.log(res);
})
.catch((error) => {
console.error(error);
});

0 comments on commit d5c1551

Please sign in to comment.