hunk.code_window:   t.end()
   })
   test('filter 2 packages with depth 100', async t => {
     const searched = [
       {name: 'minimatch', range: '*'},
       {name: 'once', range: '*'},
     ]
     const tree = await dhForPackages(searched, generalFixture, {depth: 100})
     t.deepEqual(tree, [
       {
  
hunk.labels: keep keep keep keep keep replace replace keep keep keep keep keep
hunk.after_edit:     'minimatch',
       {name: 'once', range: '1.4'},
  
hunk.file_path: test/index.ts
hunk.type: replace
file: "use strict";
  
  var value     = require("../../../object/valid-value")
    , toInteger = require("../../../number/to-integer")
  
    , max = Math.max, min = Math.min;
  
  module.exports = function (searchString/*, position*/) {
  	var start, self = String(value(this));
  	start = min(max(toInteger(arguments[1]), 0), self.length);
  	return self.indexOf(searchString, start) === start;
  };
  