Remove unused imports and variables (S1128, S1481, S1854)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-10 00:18:03 +08:00
parent 6d13bc9eb8
commit 12068281e9
11 changed files with 3 additions and 17 deletions

View File

@@ -94,7 +94,7 @@ describe("Login", () => {
});
it("stores return-to URL from route query", () => {
const wrapper = mountLogin({
mountLogin({
route: { query: { "return-to": "encodedUrl" } },
});
const store = useLoginStore();

View File

@@ -3,7 +3,7 @@
// Authors:
// imacat.yang@dsp.im (imacat), 2026/03/05
import { describe, it, expect, beforeEach, vi } from "vitest";
import { describe, it, expect, beforeEach } from "vitest";
import { mount } from "@vue/test-utils";
import { setActivePinia, createPinia } from "pinia";
import ModalHeader from "@/views/AccountManagement/ModalHeader.vue";

View File

@@ -19,7 +19,6 @@ vi.mock("@/api/client.js", () => ({
default: { get: mockGet, post: mockPost, put: mockPut },
}));
import apiError from "@/module/apiError.js";
import { useConformanceStore } from "@/stores/conformance";
describe("conformanceStore", () => {

View File

@@ -8,7 +8,6 @@ import {
setLineChartData,
setBarChartData,
timeRange,
yTimeRange,
getXIndex,
formatTime,
formatMaxTwo,