diff --git a/packages/clay-icon/src/__tests__/ClayIcon.js b/packages/clay-icon/src/__tests__/ClayIcon.js index 68edc37bd2..e6836e5a6e 100644 --- a/packages/clay-icon/src/__tests__/ClayIcon.js +++ b/packages/clay-icon/src/__tests__/ClayIcon.js @@ -60,4 +60,23 @@ describe('ClayIcon', function() { expect(clayIcon).toMatchSnapshot(); }); + + it('should render an icon with focusable to true', () => { + clayIcon = new ClayIcon({ + focusable: true, + spritemap: spritemap, + symbol: 'add-cell', + }); + + expect(clayIcon).toMatchSnapshot(); + }); + + it('should render an icon with focusable to false by default', () => { + clayIcon = new ClayIcon({ + spritemap: spritemap, + symbol: 'add-cell', + }); + + expect(clayIcon).toMatchSnapshot(); + }); });