UNPKG

@spalger/kibana

Version:

Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elastic

15 lines (12 loc) 371 B
describe('_.pushAll', function () { var _ = require('lodash'); var expect = require('expect.js'); it('pushes an entire array into another', function () { var a = [1, 2, 3, 4]; var b = [5, 6, 7, 8]; var output = _.pushAll(b, a); expect(output).to.be(a); expect(a).to.eql([1, 2, 3, 4, 5, 6, 7, 8]); expect(b).to.eql([5, 6, 7, 8]); }); });