import React from "react";
import { renderWithTheme, setupMockIntersectionObserver } from "../../testHelpers";
import TokenImage from "../../components/Image/TokenImage";
it("renders correctly", () => {
setupMockIntersectionObserver();
const { asFragment } = renderWithTheme(
);
expect(asFragment()).toMatchInlineSnapshot(`
.c0 {
max-height: 48px;
max-width: 48px;
position: relative;
width: 100%;
}
.c0:after {
content: "";
display: block;
padding-top: 100%;
}
.c2 {
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
.c1:before {
border-radius: 50%;
border: 1px solid rgba(0,0,0,0.25);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 7;
}
`);
});