(name: string, fn: TestAction)
| 73 | |
| 74 | // ===== 导出函数 ===== |
| 75 | export function testActionSet(name: string, fn: TestAction): void { |
| 76 | testRegistry.setAction(name, fn); |
| 77 | } |
| 78 | |
| 79 | export function testActionUnset(name: string | string[]): void { |
| 80 | testRegistry.unsetAction(name); |