import formatter from '~/static_site_editor/services/formatter';
describe('formatter', () => {
const source = `Some text
And some more text
And even more text`;
const sourceWithoutBrTags = `Some text
And some more text
And even more text`;
it('removes extraneous
tags', () => {
expect(formatter(source)).toMatch(sourceWithoutBrTags);
});
});