fix: prettier formatting and downgrade upload-artifact to v3 for Gitea
This commit is contained in:
9 files changed
+32
-23
No files matched your search
@@ -285,7 +285,9 @@ export function GameProfileModal({
|
||||
</dl>
|
||||
) : null}
|
||||
|
||||
{profile ? <ModalReviews profile={profile} dict={dict} localeTag={localeTag} /> : null}
|
||||
{profile ? (
|
||||
<ModalReviews profile={profile} dict={dict} localeTag={localeTag} />
|
||||
) : null}
|
||||
|
||||
{profile?.itad && (bestPrice || historyLow) ? (
|
||||
<ModalPrices
|
||||
|
||||
@@ -9,7 +9,11 @@ describe("ModalReviews", () => {
|
||||
it("renders nothing without review sources", () => {
|
||||
const dict = getDictionary("en");
|
||||
const { container } = render(
|
||||
<ModalReviews profile={profileFixture()} dict={dict.discord.gameModal} localeTag="en-US" />,
|
||||
<ModalReviews
|
||||
profile={profileFixture()}
|
||||
dict={dict.discord.gameModal}
|
||||
localeTag="en-US"
|
||||
/>,
|
||||
);
|
||||
expect(container.textContent).toBe("");
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user