mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 18:00:54 +00:00
refactor: trim unused testing exports
This commit is contained in:
@@ -352,9 +352,3 @@ function enqueueBoundTurn<T>(key: string, run: () => Promise<T>): Promise<T> {
|
||||
});
|
||||
return next;
|
||||
}
|
||||
|
||||
export const __testing = {
|
||||
resetQueues() {
|
||||
getGlobalState().queues.clear();
|
||||
},
|
||||
};
|
||||
|
||||
@@ -253,9 +253,3 @@ function permissionsForMode(mode: PermissionsMode): {
|
||||
? { approvalPolicy: "never", sandbox: "danger-full-access" }
|
||||
: { approvalPolicy: "on-request", sandbox: "workspace-write" };
|
||||
}
|
||||
|
||||
export const __testing = {
|
||||
resetActiveTurns() {
|
||||
getActiveTurns().clear();
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user