fold sysinfo into network

the backends are network backends
This commit is contained in:
Girish Ramakrishnan
2023-08-03 13:38:42 +05:30
parent a4d57e7b08
commit 47d57a3971
23 changed files with 143 additions and 161 deletions
+4
View File
@@ -122,6 +122,10 @@ describe('Network', function () {
const config = await network.getIPv6Config();
expect(config.provider).to.be('generic');
});
it('test machine has IPv6 support', function () {
expect(network.hasIPv6()).to.equal(true);
});
});
describe('Dynamic DNS', function () {
-13
View File
@@ -1,13 +0,0 @@
/* global it:false */
/* global describe:false */
'use strict';
const expect = require('expect.js'),
sysinfo = require('../sysinfo.js');
describe('config', function () {
it('test machine has IPv6 support', function () {
expect(sysinfo.hasIPv6()).to.equal(true);
});
});