refactor(api): add redis-backed rate limiting fallback
This commit is contained in:
@@ -204,9 +204,9 @@ function createMissingApprovalTableError() {
|
||||
describe("assistant router tool gating", () => {
|
||||
let approvalStore = createApprovalStoreMock();
|
||||
|
||||
beforeEach(() => {
|
||||
beforeEach(async () => {
|
||||
approvalStore = createApprovalStoreMock();
|
||||
apiRateLimiter.reset();
|
||||
await apiRateLimiter.reset();
|
||||
resetAssistantApprovalStorageWarningStateForTests();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user