Apply repository-wide ESLint auto-fix formatting pass

Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
2026-03-08 12:11:57 +08:00
parent 7c48faaa3d
commit 847904c49b
172 changed files with 13629 additions and 9154 deletions

View File

@@ -3,19 +3,19 @@
// Authors:
// imacat.yang@dsp.im (imacat), 2026/03/05
import { describe, it, expect } from 'vitest';
import { mount } from '@vue/test-utils';
import Loading from '@/components/Loading.vue';
import { describe, it, expect } from "vitest";
import { mount } from "@vue/test-utils";
import Loading from "@/components/Loading.vue";
describe('Loading', () => {
it('renders a loader element', () => {
describe("Loading", () => {
it("renders a loader element", () => {
const wrapper = mount(Loading);
expect(wrapper.find('.loader').exists()).toBe(true);
expect(wrapper.find(".loader").exists()).toBe(true);
});
it('has full-screen overlay classes', () => {
it("has full-screen overlay classes", () => {
const wrapper = mount(Loading);
expect(wrapper.classes()).toContain('fixed');
expect(wrapper.classes()).toContain('inset-0');
expect(wrapper.classes()).toContain("fixed");
expect(wrapper.classes()).toContain("inset-0");
});
});