import React from 'react'; import renderer from 'react-test-renderer'; import { Grid } from '../src/icons' describe('Using lucide icon components', () => { it('should render an component', () => { const component = renderer.create( , ); let tree = component.toJSON(); expect(tree).toMatchSnapshot(); }); it('should adjust the size, stroke color and stroke width', () => { const component = renderer.create( , ); let tree = component.toJSON(); expect(tree).toMatchSnapshot(); }); })