PATH:
usr
/
local
/
lib
/
node_modules
/
pm2
/
node_modules
/
pac-resolver
/
test
/** * Module dependencies. */ var assert = require('assert'); var isPlainHostName = require('../isPlainHostName'); describe('isPlainHostName(host)', function () { var tests = [ ["www", true], ["www.netscape.com", false] ]; tests.forEach(function (test) { var expected = test.pop(); it('should return `' + expected +'` for "' + test.join('", "') + '"', function () { assert.equal(expected, isPlainHostName(test[0])); }); }); });
[-] isInNet.js
[edit]
[-] dnsDomainIs.js
[edit]
[+]
..
[-] isResolvable.js
[edit]
[-] dnsDomainLevels.js
[edit]
[-] test.js
[edit]
[-] dnsResolve.js
[edit]
[-] weekdayRange.js
[edit]
[-] myIpAddress.js
[edit]
[-] timeRange.js
[edit]
[-] localHostOrDomainIs.js
[edit]
[-] isPlainHostName.js
[edit]
[-] shExpMatch.js
[edit]