refactor: organize imports inside tests files (#4542)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
This commit is contained in:
co-authored by
Alexandr
parent
12caf46c6d
commit
879463b14e
+8
-8
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user