refactor: clean up duplicate imports and dead code
- Merge type and value imports from the same module into single imports - Remove dead import-badges action (flow uses /api/admin/import/badges) - Remove unused babel-plugin-react-compiler devDependency - Remove stray test.txt file - Update knip config: track css imports, drop redundant ignore entries - Update contract test to drop obsolete dead-action assertion
This commit is contained in:
1 parent
76730b84cf
commit
ae1393d3e3
15 files changed
+45
-75
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import { describe, expect, it, vi } from "vitest";
|
||||
import type { CurrencyDb } from "./send-currency";
|
||||
import { type CurrencyDb, sendCurrency } from "./send-currency";
|
||||
|
||||
vi.mock("@/lib/db", () => ({
|
||||
db: {},
|
||||
@@ -9,8 +9,6 @@ vi.mock("@/lib/db", () => ({
|
||||
|
||||
vi.mock("@/lib/services/rcon", () => ({}));
|
||||
|
||||
import { sendCurrency } from "./send-currency";
|
||||
|
||||
const mockDb = {} as CurrencyDb;
|
||||
|
||||
describe("sendCurrency", () => {
|
||||
|
||||
Reference in new issue
Block a user