Apply repository-wide ESLint auto-fix formatting pass
Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
@@ -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");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user