Move hasIPv6 into sysinfo
This commit is contained in:
@@ -79,8 +79,4 @@ describe('config', function () {
|
||||
|
||||
done();
|
||||
});
|
||||
|
||||
it('test machine has IPv6 support', function () {
|
||||
expect(config.hasIPv6()).to.equal(true);
|
||||
});
|
||||
});
|
||||
|
||||
24
src/test/sysinfo-test.js
Normal file
24
src/test/sysinfo-test.js
Normal file
@@ -0,0 +1,24 @@
|
||||
/* global it:false */
|
||||
/* global describe:false */
|
||||
/* global after:false */
|
||||
/* global before:false */
|
||||
|
||||
'use strict';
|
||||
|
||||
var config = require('../config.js'),
|
||||
expect = require('expect.js'),
|
||||
sysinfo = require('../sysinfo.js');
|
||||
|
||||
describe('config', function () {
|
||||
before(function () {
|
||||
config._reset();
|
||||
});
|
||||
|
||||
after(function () {
|
||||
config._reset();
|
||||
});
|
||||
|
||||
it('test machine has IPv6 support', function () {
|
||||
expect(sysinfo.hasIPv6()).to.equal(true);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user