Skip to content

Commit

Permalink
feat: wp
Browse files Browse the repository at this point in the history
  • Loading branch information
BLuEScioN committed Jan 15, 2025
1 parent 847cd67 commit 7dccce6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ exports[`MobileNav should render correctly 1`] = `
</a>
<button
aria-label="Close menu"
class="chakra-button css-119fvwf"
class="chakra-button css-r8l8tx"
type="button"
>
<svg
Expand All @@ -58,7 +58,7 @@ exports[`MobileNav should render correctly 1`] = `
>
<button
aria-label="Change color mode"
class="chakra-button css-efqrj1"
class="chakra-button css-nfeibx"
title="Change the color mode to light"
type="button"
>
Expand All @@ -76,7 +76,7 @@ exports[`MobileNav should render correctly 1`] = `
</button>
<button
aria-label="Change color mode"
class="chakra-button css-efqrj1"
class="chakra-button css-nfeibx"
title="Change the color mode to dark"
type="button"
>
Expand Down
12 changes: 6 additions & 6 deletions src/app/tokens/__tests__/__snapshots__/TokenRow.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -44,25 +44,25 @@ exports[`TokenRow renders correctly 1`] = `
<td
className="chakra-table__cell css-t35k1d"
>
<p
className="css-1ykfjv1"
<span
className="css-1gy64qm"
>
<a
className="link css-m05bwu"
href="/txid/0x1234?chain=mainnet"
>
0x1234
</a>
</p>
</span>
</td>
<td
className="chakra-table__cell css-nepgmf"
>
<p
className="css-ktech9"
<span
className="css-1tzohq0"
>
1M
</p>
</span>
</td>
</tr>
</table>
Expand Down
6 changes: 2 additions & 4 deletions src/common/utils/test-utils/renderWithProviders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@ const Providers = ({ children }: { children: React.ReactNode }) => {
return <ChakraProvider value={system}>{children}</ChakraProvider>;
};

export const renderWithProviders = (
ui: ReactElement,
options?: Omit<RenderOptions, 'wrapper'>
) => render(ui, { wrapper: Providers, ...options });
export const renderWithProviders = (ui: ReactElement, options?: Omit<RenderOptions, 'wrapper'>) =>
render(ui, { wrapper: Providers, ...options });

0 comments on commit 7dccce6

Please sign in to comment.