import { describe, test, expect } from 'vitest'; import React from 'react'; import { Icon } from '../dist/iconify'; import { create } from 'react-test-renderer'; const iconData = { body: '', width: 24, height: 24, }; describe('Testing references', () => { test('basic icon reference', () => { let gotRef = false; const component = create( { gotRef = true; }} /> ); // Ref should have been called by now expect(gotRef).toEqual(true); }); });