(context: Record<string, unknown>)
| 87 | for (const permissionSetupPath of permissionSetupPaths) { |
| 88 | mock.module(permissionSetupPath, () => ({ |
| 89 | prepareContextForPlanMode(context: Record<string, unknown>) { |
| 90 | return { |
| 91 | ...context, |
| 92 | prePlanMode: context.mode, |
| 93 | } |
| 94 | }, |
| 95 | isAutoModeGateEnabled: () => true, |
| 96 | getAutoModeUnavailableReason: () => 'circuit-breaker', |
| 97 | getAutoModeUnavailableNotification: () => 'auto mode unavailable', |