refactor: organize imports inside tests files (#4542)

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
This commit is contained in:
Ophelia Goldstein
2025-10-08 01:58:06 +03:00
committed by GitHub
co-authored by Alexandr
parent 12caf46c6d
commit 879463b14e
24 changed files with 57 additions and 61 deletions
+2 -4
View File
@@ -1,16 +1,14 @@
import { describe, expect, it } from "@jest/globals";
import {
getByTestId,
queryAllByTestId,
queryByTestId,
} from "@testing-library/dom";
import "@testing-library/jest-dom";
import { cssToObject } from "@uppercod/css-to-object";
import { renderStatsCard } from "../src/cards/stats.js";
import { expect, it, describe } from "@jest/globals";
import { CustomError } from "../src/common/utils.js";
// adds special assertions like toHaveTextContent
import "@testing-library/jest-dom";
import { themes } from "../themes/index.js";
const stats = {