Skip to content

Commit

Permalink
CB-4551 removed unused plugins for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
s.teleshev committed Jan 22, 2024
1 parent 7ab2eb7 commit 478ccd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webapp/packages/core-blocks/src/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const Icon: React.FC<SVGAttributes<any>> = function Icon(props) {
const cn = `icon ${className || ''}`;
const url = GlobalConstants.absoluteUrl(name.startsWith('/') ? name : `/icons/icons.svg#${name}`);
return (
<svg {...rest} className={cn} aria-hidden="true" focusable="false">
<svg {...rest} data-testid="Icon" className={cn} aria-hidden="true" focusable="false">
<use href={url} />
</svg>
);
Expand Down
2 changes: 1 addition & 1 deletion webapp/packages/core-cli/configs/jest.babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
*/
module.exports = {
presets: ['@babel/preset-env', ['@babel/preset-react', { runtime: 'automatic' }]],
plugins: ['../dist/babel-plugins/TestingAttributes.js', require('@reshadow/babel')],
plugins: [require('@reshadow/babel')],
};

0 comments on commit 478ccd6

Please sign in to comment.