Closes #204 - Move network.js

The network module (network.js) logically fits better in /shell since it's the only part of filer that uses it.
This commit is contained in:
Kieran Sedgwick 2014-05-29 13:00:20 -04:00
parent d0418fa0d3
commit bb23e902d2
4 changed files with 3 additions and 5 deletions

View File

@ -2,7 +2,7 @@ var Path = require('../path.js');
var Errors = require('../errors.js'); var Errors = require('../errors.js');
var Environment = require('./environment.js'); var Environment = require('./environment.js');
var async = require('../../lib/async.js'); var async = require('../../lib/async.js');
var Network = require('../network.js'); var Network = require('./network.js');
var Zlib = require('../../lib/zip-utils.js'); var Zlib = require('../../lib/zip-utils.js');
var TextEncoder = require('../../lib/encoding.js').TextEncoder; var TextEncoder = require('../../lib/encoding.js').TextEncoder;

View File

@ -54,9 +54,7 @@ require("./spec/shell/env.spec");
require("./spec/shell/mkdirp.spec"); require("./spec/shell/mkdirp.spec");
require("./spec/shell/wget.spec"); require("./spec/shell/wget.spec");
require("./spec/shell/zip-unzip.spec"); require("./spec/shell/zip-unzip.spec");
require("./spec/shell/network.spec");
// Custom Filer library modules
require("./spec/libs/network.spec");
// Ported node.js tests (filenames match names in https://github.com/joyent/node/tree/master/test) // Ported node.js tests (filenames match names in https://github.com/joyent/node/tree/master/test)
require("./spec/node-js/simple/test-fs-mkdir"); require("./spec/node-js/simple/test-fs-mkdir");

View File

@ -1,4 +1,4 @@
var network = require('../../../src/network.js'); var network = require('../../../src/shell/network.js');
var expect = require('chai').expect; var expect = require('chai').expect;
describe('Network module', function() { describe('Network module', function() {