Fix failing dns and network test
This commit is contained in:
@@ -4,18 +4,17 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
var network = require('../network.js'),
|
||||
var BoxError = require('../boxerror.js'),
|
||||
expect = require('expect.js'),
|
||||
fs = require('fs'),
|
||||
path = require('path'),
|
||||
paths = require('../paths.js'),
|
||||
BoxError = require('../boxerror.js'),
|
||||
expect = require('expect.js');
|
||||
network = require('../network.js'),
|
||||
paths = require('../paths.js');
|
||||
|
||||
describe('Network', function () {
|
||||
describe('Blocklist', function () {
|
||||
|
||||
before(function () {
|
||||
fs.mkdirSync(path.dirname(paths.FIREWALL_BLOCKLIST_FILE));
|
||||
fs.writeFileSync(paths.FIREWALL_BLOCKLIST_FILE, '', 'utf8');
|
||||
});
|
||||
|
||||
it('can get empty blocklist', function (done) {
|
||||
|
||||
Reference in New Issue
Block a user