Sha256: e78dde33b19379f7cf455b7acda0a41dc0e5158bcbafcde4333359c32b8a74d5
Contents?: true
Size: 345 Bytes
Versions: 21
Compression:
Stored size: 345 Bytes
Contents
var test = require('tape'), walk = require('../walkdir.js'); test('should be able to end walk after first path',function(t){ var paths = []; var em = walk('../',function(path){ paths.push(path); this.end(); }); em.on('end',function(){ t.equals(paths.length,1,'should have only found one path'); t.end(); }); });
Version data entries
21 entries across 21 versions & 2 rubygems