
        const options = Object.assign(defaults, customProps);
        return new DateRange(options);
    }

    let d1: DateRange;
    let d2: DateRange;

    beforeEach(() => {
        d1 = buildDateRange();
        d2 = buildDateRange();
    });

    it('should pass when objects are identical', () => {
        expect(d1).toEqualDateRange(d2);