Remove unused imports and variables (S1128, S1481, S1854)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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", () => {
|
||||
|
||||
@@ -8,7 +8,6 @@ import {
|
||||
setLineChartData,
|
||||
setBarChartData,
|
||||
timeRange,
|
||||
yTimeRange,
|
||||
getXIndex,
|
||||
formatTime,
|
||||
formatMaxTwo,
|
||||
|
||||
Reference in New Issue
Block a user