Skip to content

refactor: Type check and restructure tests #237

refactor: Type check and restructure tests

refactor: Type check and restructure tests #237

Triggered via pull request October 17, 2024 15:04
@PeejaPeeja
synchronize #119
cleaner-promise
Status Failure
Total duration 29s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
Test: test/integration/rate-limit.spec.js#L3
Could not find a declaration file for module 'node-fetch'. '/home/runner/work/freeway/freeway/node_modules/node-fetch/lib/index.js' implicitly has an 'any' type.
Test: test/miniflare/freeway.spec.js#L166
Variable 'blocks' implicitly has type 'any[]' in some locations where its type cannot be determined.
Test: test/miniflare/freeway.spec.js#L171
Variable 'blocks' implicitly has an 'any[]' type.
Test: test/miniflare/freeway.spec.js#L224
Variable 'blocks' implicitly has type 'any[]' in some locations where its type cannot be determined.
Test: test/miniflare/freeway.spec.js#L229
Variable 'blocks' implicitly has an 'any[]' type.
Test: test/miniflare/freeway.spec.js#L231
Variable 'blocks' implicitly has an 'any[]' type.
Test
Process completed with exit code 1.
Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/