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,11 +3,11 @@
// Authors:
// imacat.yang@dsp.im (imacat), 2026/03/05
import { describe, it, expect, beforeEach } from 'vitest';
import { setActivePinia, createPinia } from 'pinia';
import { useLoadingStore } from '@/stores/loading';
import { describe, it, expect, beforeEach } from "vitest";
import { setActivePinia, createPinia } from "pinia";
import { useLoadingStore } from "@/stores/loading";
describe('loadingStore', () => {
describe("loadingStore", () => {
let store;
beforeEach(() => {
@@ -15,16 +15,16 @@ describe('loadingStore', () => {
store = useLoadingStore();
});
it('has isLoading true by default', () => {
it("has isLoading true by default", () => {
expect(store.isLoading).toBe(true);
});
it('setIsLoading sets to false', () => {
it("setIsLoading sets to false", () => {
store.setIsLoading(false);
expect(store.isLoading).toBe(false);
});
it('setIsLoading sets to true', () => {
it("setIsLoading sets to true", () => {
store.setIsLoading(false);
store.setIsLoading(true);
expect(store.isLoading).toBe(true);