feat: add error and error_description to to adapter error responses #554
build-and-test.yml
on: push
check_versions
4s
Matrix: build
Annotations
4 errors and 2 warnings
test/e2e/adapters/fastify.spec.ts > Fastify OAuth Utilities > handleFastifyError > should handle OAuthException:
test/e2e/adapters/fastify.spec.ts#L46
AssertionError: expected "spy" to be called with arguments: [ { status: 400, …(1) } ]
Received:
1st spy call:
Array [
Object {
+ "error": "server_error",
+ "error_description": "Test error",
"message": "Test error",
"status": 400,
},
]
Number of calls: 1
❯ test/e2e/adapters/fastify.spec.ts:46:30
|
build (18.x)
Process completed with exit code 1.
|
build (20.x)
The job was canceled because "_18_x" failed.
|
build (20.x)
The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
|
build (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build (18.x)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|