enable rate limits for dev environment
This commit is contained in:
parent
9daafca155
commit
ead781900d
2 changed files with 2 additions and 2 deletions
|
|
@ -120,7 +120,7 @@ describe(SkRateLimiterService, () => {
|
|||
});
|
||||
});
|
||||
|
||||
it('should bypass in non-production', async () => {
|
||||
it('should bypass in test environment', async () => {
|
||||
mockEnvironment.NODE_ENV = 'test';
|
||||
|
||||
const info = await serviceUnderTest().limit({ key: 'l', type: undefined, max: 0 }, actor);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue