修复合并后的前端门禁与测试竞态

整理资源工作台与画布编辑模块导入顺序
移除画布测试未使用类型导入
等待最终化审计落盘后再断言后台恢复状态
This commit is contained in:
2026-08-04 19:04:24 +08:00
parent dccb5ee55b
commit e982227b58
6 changed files with 22 additions and 11 deletions
@@ -12,7 +12,6 @@ import userEvent from '@testing-library/user-event';
import JSZip from 'jszip';
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import type { EditorProjectResourceSnapshot } from '../../services/image-editor/editorProjectClient';
import type { EditorAgentConversationClient } from './EditorAgentConversation/useEditorAgentConversation';
import {
ApiClientError,
@@ -39,8 +39,8 @@ import {
DEFAULT_CANVAS_BACKGROUND_COLOR,
generationInputsOrNull,
isInlineEditorMediaSource,
resolveLayerResourceAssetKind,
resolveContextMenuPosition,
resolveLayerResourceAssetKind,
} from './ImageCanvasEditorModel';
import { ImageCanvasEditorShellView } from './ImageCanvasEditorShellView';
import type {
@@ -9,8 +9,8 @@ import {
createCanvasLayerClipboard,
duplicateCanvasLayers,
flipCanvasLayers,
getCanvasLayersByIds,
getCanvasLayerCopyBlockReason,
getCanvasLayersByIds,
groupCanvasLayers,
moveCanvasLayers,
removeCanvasLayers,
@@ -22,8 +22,8 @@ import {
createCanvasLayerClipboard,
duplicateCanvasLayers,
flipCanvasLayers,
getCanvasLayersByIds,
getCanvasLayerCopyBlockReason,
getCanvasLayersByIds,
groupCanvasLayers,
moveCanvasLayers,
removeCanvasLayers,