Skip to content

Commit

Permalink
chore: added suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
ameerul-deriv committed May 2, 2024
1 parent e11cf73 commit 723d0c7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 deletions.
7 changes: 0 additions & 7 deletions __mocks__/svgReactTransformer.cjs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ describe('ShareAdsModal', () => {
});

render(<ShareAdsModal {...mockProps} />);
screen.debug(undefined, 1000000);

const copyButton = screen.getByRole('button', { name: 'Copy link' });
await userEvent.click(copyButton);

Expand Down
2 changes: 1 addition & 1 deletion vite-env-override.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
declare module '*.svg' {
import * as React from 'react';

export const ReactComponent: React.FunctionComponent<React.SVGProps<SVGSVGElement> & { title?: string }>;
export const ReactComponent: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
}
2 changes: 0 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference types="vite/client" />
/// <reference types="vite-plugin-svgr/client" />
import path from 'path';
import { defineConfig } from 'vite';
import svgr from '@svgr/rollup';
Expand Down

0 comments on commit 723d0c7

Please sign in to comment.