You can use your own Array.forEach (). If you need lodash, do this:
Get the dependency node.
npm install lodash
Then use it in your test.
var _ = require('lodash');
describe('foo', function() {
it('should do stuff', function() {
_.each();
});
})
source
to share