test: fix rate limiter duration

This commit is contained in:
DIYgod 2024-05-26 20:51:30 +08:00
parent 0839e555bb
commit 53edbc7e62
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -146,6 +146,6 @@ describe('request-rewriter', () => {
}
})
);
expect(Date.now() - time).toBeGreaterThan(2000);
expect(Date.now() - time).toBeGreaterThan(1500);
});
});