Sha256: 39e935cd9c24bf79dcf1482909c1d13de2f23d78fd5768fff3545f68f86b9bac

Contents?: true

Size: 386 Bytes

Versions: 21

Compression:

Stored size: 386 Bytes

Contents

var test = require('tape')
var walkdir = require('../')

test('async events',function(t){
  var paths = [],
  files = [],
  dirs = [];

  var emitter = walkdir(__dirname+'/dir/foo',function(path){
    paths.push(path.replace(__dirname+'/',''));
  }).ignore(__dirname+'/dir/foo');

  emitter.on('end',function(){
    t.equals(paths.length,0,'should have no paths')
    t.end();
  })

})

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
xcodebuild-helper-1.2.3 externals/ios-sim-master/node_modules/walkdir/test/ignore-first.js