it('should compress some whitespaces to one', () => {
    const template = Handlebars.compile('{{clean str}}');

    expect(template({str: ' foo    bar   '})).toBe('foo bar');
    expect(template({str: 123})).toBe('123');