Skip to content

Tests

Tests #1146

Triggered via schedule October 11, 2024 00:04
Status Failure
Total duration 5m 14s
Billable time 6m
Artifacts

tests.yaml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
error: expect(received).toBe(expected): src/cache.test.ts#L40
Expected: 11 Received: 12 at /home/runner/work/ratelimit-js/ratelimit-js/src/cache.test.ts:40:27
error: expect(received).toBe(expected): src/getRemainingTokens.test.ts#L34
Expected: 8 Received: 7 at /home/runner/work/ratelimit-js/ratelimit-js/src/getRemainingTokens.test.ts:34:25
error: expect(received).toBe(expected): src/resetUsedTokens.test.ts#L29
Expected: 10 Received: 0 at /home/runner/work/ratelimit-js/ratelimit-js/src/resetUsedTokens.test.ts:29:25
error: expect(received).toBe(expected): src/resetUsedTokens.test.ts#L29
Expected: 10 Received: 0 at /home/runner/work/ratelimit-js/ratelimit-js/src/resetUsedTokens.test.ts:29:25
error: expect(received).toBe(expected): src/blockUntilReady.test.ts#L36
Expected: false Received: true at /home/runner/work/ratelimit-js/ratelimit-js/src/blockUntilReady.test.ts:36:25
Tests
Process completed with exit code 1.
Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/