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
+8 -8
View File
@@ -1,19 +1,19 @@
// @ts-check
import {
afterEach,
beforeEach,
describe,
expect,
it,
jest,
} from "@jest/globals";
import axios from "axios";
import MockAdapter from "axios-mock-adapter";
import api from "../api/index.js";
import { calculateRank } from "../src/calculateRank.js";
import { renderStatsCard } from "../src/cards/stats.js";
import { CONSTANTS, renderError } from "../src/common/utils.js";
import {
expect,
it,
describe,
afterEach,
beforeEach,
jest,
} from "@jest/globals";
/**
* @type {import("../src/fetchers/stats").StatsData}