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