import { replaceIDs } from '@iconify/utils/lib/svg/id';
describe('Testing replaceIDs', () => {
it('Simple code', () => {
const body =
'';
const expected =
'';
// Using callback
let counter = 0;
expect(replaceIDs(body, () => 'callback-' + counter++)).toBe(expected);
});
});