import { addIdAttributeToBlock } from '@launch/lib/blocks';
describe('addIdAttributeToBlock', () => {
const blockCode = '
',
);
});
it('does nothing if blockCode doesn’t match the expected pattern', () => {
const input = '
Hello
';
const result = addIdAttributeToBlock(input, 'abc');
expect(result).toBe(input);
});
});