"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const utils_1 = require("../src/utils");
describe('intersperse()', () => {
    it('inserts a separator between each element of an array', () => {
        expect((0, utils_1.intersperse)(',', [])).toEqual([]);
        expect((0, utils_1.intersperse)(',', ['a'])).toEqual(['a']);
        expect((0, utils_1.intersperse)(',', ['a', 'b'])).toEqual(['a', ',', 'b']);
        expect((0, utils_1.intersperse)(',', ['a', 'b', 'c'])).toEqual(['a', ',', 'b', ',', 'c']);
    });
});
//# sourceMappingURL=util.test.js.map