refactor(api): add redis-backed rate limiting fallback
This commit is contained in:
@@ -148,10 +148,10 @@ function createToolContext(
|
||||
}
|
||||
|
||||
describe("assistant import/export and dispo tools", () => {
|
||||
beforeEach(() => {
|
||||
beforeEach(async () => {
|
||||
vi.clearAllMocks();
|
||||
vi.unstubAllEnvs();
|
||||
apiRateLimiter.reset();
|
||||
await apiRateLimiter.reset();
|
||||
totpValidateMock.mockReset();
|
||||
vi.mocked(approveEstimateVersion).mockReset();
|
||||
vi.mocked(cloneEstimate).mockReset();
|
||||
|
||||
Reference in New Issue
Block a user