Add dependentMaxes rate limiting config #20
Annotations
6 errors and 2 notices
uses the max for a specific claim:
tests/e2e/rate-limiting.test.ts#L2
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
'1000' !== '10'
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
'1000' !== '10'
at TestContext.<anonymous> (/home/runner/work/ai-warp/ai-warp/tests/e2e/rate-limiting.test.ts:2:4256)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:382:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '1000',
expected: '10',
operator: 'strictEqual'
}
}
|
E2E Tests
Process completed with exit code 1.
|
Linting:
plugins/rate-limiting.ts#L7
Extra semicolon
|
Linting:
plugins/rate-limiting.ts#L10
Unexpected separator
|
Linting:
plugins/rate-limiting.ts#L14
Missing space before function parentheses
|
Linting
Process completed with exit code 1.
|
E2E Tests
Total Tests: 13
Suites 📂: 2
Passed ✅: 12
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 3040.450ms
|
Unit Tests
Total Tests: 10
Suites 📂: 3
Passed ✅: 10
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 1717.431ms
|