mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-20 14:10:25 +00:00
Enable the sort-imports eslint rule (#1849)
## Description: Enable the `sort-imports` eslint rule. Fixes #1784 ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced
This commit is contained in:
@@ -2,16 +2,16 @@
|
||||
* @jest-environment jsdom
|
||||
*/
|
||||
import {
|
||||
attackMenuElement,
|
||||
buildMenuElement,
|
||||
COLORS,
|
||||
MenuElementParams,
|
||||
rootMenuElement,
|
||||
Slot,
|
||||
attackMenuElement,
|
||||
buildMenuElement,
|
||||
rootMenuElement,
|
||||
} from "../../../src/client/graphics/layers/RadialMenuElements";
|
||||
import { UnitType } from "../../../src/core/game/Game";
|
||||
import { TileRef } from "../../../src/core/game/GameMap";
|
||||
import { GameView, PlayerView } from "../../../src/core/game/GameView";
|
||||
import { TileRef } from "../../../src/core/game/GameMap";
|
||||
import { UnitType } from "../../../src/core/game/Game";
|
||||
|
||||
jest.mock("../../../src/client/Utils", () => ({
|
||||
translateText: jest.fn((key: string) => key),
|
||||
|
||||
Reference in New Issue
Block a user