refactor: Type check and restructure tests #237
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/
|