add logging #63
node.js.yml
on: pull_request
Matrix: test
deploy
0s
deploy_staging
0s
Annotations
3 errors and 1 warning
src/handlers.spec.js > handlers > 400 if missing required parameters:
src/handlers.spec.js#L21
AssertionError: expected { Object (error) } to deeply equal ObjectContaining {"errors": Any<Array>}
- Expected
+ Received
- ObjectContaining {
- "errors": Any<Array>,
+ Object {
+ "error": "Unexpected end of JSON input",
}
❯ src/handlers.spec.js:21:35
|
src/handlers.spec.js > handlers > 400 if invalid to: address:
src/handlers.spec.js#L52
AssertionError: expected { Object (error) } to deeply equal ObjectContaining{…}
- Expected
+ Received
- ObjectContaining {
- "error": "Does not contain a valid address.",
+ Object {
+ "error": "Unexpected end of JSON input",
}
❯ src/handlers.spec.js:52:35
|
test (20.x)
Process completed with exit code 1.
|
test (20.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|