Skip to content

refactor: error handling #6471

refactor: error handling

refactor: error handling #6471

Triggered via pull request April 7, 2025 12:50
Status Failure
Total duration 3m 57s
Artifacts

tests.yaml

on: pull_request
build-and-unit
3m 47s
build-and-unit
cli-package-test
41s
cli-package-test
coverage-report
7s
coverage-report
code-style-check
1m 24s
code-style-check
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
__tests__/respect/free-apis/free-apis.test.ts > free apis test case: __tests__/respect/free-apis/free-apis.test.ts#L13
Error: Snapshot `free apis test case 1` mismatched - Expected + Received @@ -14,27 +14,35 @@ ──────────────────────────────────────────────────────────────────────────────── Running workflow free.arazzo.yaml / xml - ✓ POST http://restapi.adequateshop.com/api/Traveler - step post-traveler + ✗ POST http://restapi.adequateshop.com/api/Traveler - step post-traveler -     ✓ success criteria check - $statusCode == 404 -     ✓ success criteria check - $response.header.content-type == 'text/html' +     ✗ failed network request + + +   Failed tests info: + +   Workflow name: xml + -     ✓ success criteria check - ^[\s\S]*404 - File or directory not found\.[\s\S]*... - - +     stepId - post-traveler +     ✗ failed network request +       fetch failed +          Summary for free.arazzo.yaml    -   Workflows: 2 passed, 2 total +   Workflows: 1 passed, 1 failed, 2 total -   Steps: 3 passed, 3 total +   Steps: 2 passed, 1 failed, 3 total -   Checks: 9 passed, 9 total +   Checks: 6 passed, 1 failed, 7 total   Time: <test>ms ┌──────────────────────────────────────────────────────────┬────────────┬─────────┬─────────┬──────────┐ │ Filename │ Workflows │ Passed │ Failed │ Warnings │ ├──────────────────────────────────────────────────────────┼────────────┼─────────┼─────────┼──────────┤ - │ ✓ free.arazzo.yaml │ 2 │ 2 │ - │ - │ + │ x free.arazzo.yaml │ 2 │ 1 │ 1 │ - │ └──────────────────────────────────────────────────────────┴────────────┴─────────┴─────────┴──────────┘ + + Tests exited with error " ❯ __tests__/respect/free-apis/free-apis.test.ts:13:18
build-and-unit
Process completed with exit code 1.
code-style-check: packages/cli/src/commands/build-docs/types.ts#L10
Unexpected any. Specify a different type
code-style-check: packages/cli/src/commands/build-docs/types.ts#L11
Unexpected any. Specify a different type
code-style-check: packages/cli/src/commands/build-docs/types.ts#L21
Unexpected any. Specify a different type
code-style-check: packages/cli/src/commands/build-docs/utils.ts#L53
Unexpected any. Specify a different type
code-style-check: packages/cli/src/commands/join.ts#L51
Unexpected any. Specify a different type
code-style-check: packages/cli/src/commands/join.ts#L172
Unexpected any. Specify a different type
code-style-check: packages/cli/src/commands/join.ts#L295
Unexpected any. Specify a different type
code-style-check: packages/cli/src/commands/join.ts#L303
Unexpected any. Specify a different type
code-style-check: packages/cli/src/commands/join.ts#L329
Unexpected any. Specify a different type
code-style-check: packages/cli/src/commands/join.ts#L629
Unexpected any. Specify a different type