testresources
Version:
Adds fluent interface which, with help from superagent, makes testing HTTP resources simpler.
5 lines • 339 B
JavaScript
// Brings all the files inside this directory into a namespace called 'lib', allowing you
// to require using testResources.require('{fileName}') without having to worry about the directory
// structure involved.
var requireNamespace = require('require-namespace');
module.exports = requireNamespace.createSync(__dirname, "testResources");