You can also stub bower_components with tmpDir helper just as in uninstall.js.

That would probably be better option.

```
var tempDir = helpers.createTmpDir({
    'bower.json': {
        name: 'hello-world',
        dependencies: {
            'underscore': '*'
        }
    },
    'bower_components/underscore/bower.json': {
      'name': 'underscore.js'
    }
});
```