Skip to content

Refactor adapters

Refactor adapters #85

Triggered via pull request June 6, 2024 22:39
Status Failure
Total duration 42s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 6 warnings
src/adapters/SinonServer.spec.ts > SinonServer > addMiddleware > should allow request transformation: src/adapters/SinonServer.spec.ts#L29
TypeError: server.addMiddleware is not a function ❯ src/adapters/SinonServer.spec.ts:29:20
src/adapters/SinonServer.spec.ts > SinonServer > addMiddleware > should allow response transformation: src/adapters/SinonServer.spec.ts#L75
TypeError: server.addMiddleware is not a function ❯ src/adapters/SinonServer.spec.ts:75:20
src/adapters/SinonServer.spec.ts > SinonServer > addMiddleware > should pass request in response interceptor: src/adapters/SinonServer.spec.ts#L110
TypeError: server.addMiddleware is not a function ❯ src/adapters/SinonServer.spec.ts:110:20
src/adapters/SinonServer.spec.ts > SinonServer > handle > should respond to GET /foo by sending all items in collection foo: src/adapters/SinonServer.spec.ts#L135
TypeError: server.addCollection is not a function ❯ src/adapters/SinonServer.spec.ts:135:20
src/adapters/SinonServer.spec.ts > SinonServer > handle > should respond to GET /foo on an empty collection with a []: src/adapters/SinonServer.spec.ts#L236
TypeError: server.addCollection is not a function ❯ src/adapters/SinonServer.spec.ts:236:20
src/adapters/SinonServer.spec.ts > SinonServer > handle > should respond to POST /foo by adding an item to collection foo: src/adapters/SinonServer.spec.ts#L250
TypeError: server.addCollection is not a function ❯ src/adapters/SinonServer.spec.ts:250:20
typecheck: src/adapters/SinonServer.spec.ts#L1
Module '"../SimpleRestServer.js"' declares 'BaseResponse' locally, but it is not exported.
typecheck: src/adapters/SinonServer.spec.ts#L1
Property 'addMiddleware' does not exist on type 'SinonServer'.
typecheck: src/adapters/SinonServer.spec.ts#L1
Parameter 'request' implicitly has an 'any' type.
typecheck: src/adapters/SinonServer.spec.ts#L1
Parameter 'context' implicitly has an 'any' type.
typecheck: src/adapters/SinonServer.spec.ts#L1
Parameter 'next' implicitly has an 'any' type.
typecheck: src/adapters/SinonServer.spec.ts#L1
Property 'addCollection' does not exist on type 'SinonServer'.
typecheck: src/adapters/SinonServer.spec.ts#L1
Property 'handle' does not exist on type 'SinonServer'.
typecheck: src/adapters/SinonServer.spec.ts#L1
Property 'handle' does not exist on type 'SinonServer'.
typecheck: src/adapters/SinonServer.spec.ts#L1
Property 'addMiddleware' does not exist on type 'SinonServer'.
typecheck: src/adapters/SinonServer.spec.ts#L1
Parameter 'request' implicitly has an 'any' type.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
unit-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
unit-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
typecheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
typecheck
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/