it('should accept a glob "path" value', function () { var res = utils.lookupFiles(tmpFile('mocha-utils*'), ['js'], false) .map(path.normalize.bind(path)); var expectedLength = 0; var ex = expect(res) .to .contain(tmpFile('mocha-utils.js')); expectedLength++; if (symlinkSupported) { ex = ex.and .contain(tmpFile('mocha-utils-link.js')); expectedLength++; } ex.and .have .length(expectedLength); });
exports.normalize = function() { return changeToUnixpath(path.normalize.apply(null, arguments)); };
normalize : function(){return pathological.modifier(path.normalize.apply(pathological,arguments));},