refactor: 清理迁移相关的未使用变量
- 移除 permission-helper.test.ts 中未使用的 RoleDefinition 导入 - 使用下划线前缀标记 permission-helper.ts 中有意未使用的参数 - 删除 role-auth-manager.ts 中未使用的 generateSignatureHeaders 方法及相关导入 - 为 test-data-manager.ts 添加 getPage 方法以使用 _page 变量 修复所有迁移相关的 TS6133 类型错误
This commit was merged in pull request #1.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { describe, it, expect, vi } from 'vitest';
|
||||
import { PermissionHelper } from '../permission-helper';
|
||||
import type { RoleDefinition } from '../../roles/base.role';
|
||||
|
||||
// Mock Playwright
|
||||
vi.mock('@playwright/test', () => ({
|
||||
|
||||
Reference in New Issue
Block a user