阶段四:完成 React Feature 化和异步状态修复
This commit is contained in:
1 parent
4227e3dd56
commit
e92549da48
176 files changed
+849
-650
No files matched your search
@@ -1,8 +1,8 @@
|
||||
// @vitest-environment jsdom
|
||||
import { cleanup,fireEvent,render,screen,waitFor } from '@testing-library/react';
|
||||
import React from 'react';
|
||||
import { cleanup, fireEvent, render, screen, waitFor } from '@testing-library/react';
|
||||
import { afterEach, describe, expect, test, vi } from 'vitest';
|
||||
import type { Item } from '../../shared/api-contract';
|
||||
import { afterEach,describe,expect,test,vi } from 'vitest';
|
||||
import type { Item } from '../../shared/api-contract/common';
|
||||
import type { DeliveryRuleTarget } from './AuthenticatedShell';
|
||||
|
||||
vi.mock('../features/dashboard/pages/Dashboard', /* dashboardMockFactory 提供仪表盘页面的轻量替身。 */ () => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, { lazy, Suspense, useEffect, useState } from 'react';
|
||||
import React,{ lazy,Suspense,useEffect,useState } from 'react';
|
||||
import type { Item } from '../features/items/api';
|
||||
import Sidebar from '../../shared/ui/Sidebar';
|
||||
import type { Item } from '../../shared/api-contract';
|
||||
import { useChatTitleNotification } from '../features/chat/titleNotification';
|
||||
import { getHealth } from '../features/system/api';
|
||||
import type { BuildInfo } from '../features/system/types';
|
||||
|
||||
Reference in new issue
Block a user