Skip to content

Refactor deploy workflow to include API documentation and update code… #12

Refactor deploy workflow to include API documentation and update code…

Refactor deploy workflow to include API documentation and update code… #12

Triggered via push October 15, 2024 13:04
Status Failure
Total duration 28s
Artifacts

test.yml

on: push
🧪 Test
18s
🧪 Test
Fit to window
Zoom out
Zoom in

Annotations

4 errors
test/index.spec.ts > Hello World worker > post request url without shortCode: test/index.spec.ts#L55
AssertionError: expected { status: 'succesfully_created', …(2) } to match object { shortCode: undefined } (3 matching properties omitted from actual) - Expected + Received Object { - "shortCode": undefined, + "redirect": "https://example.com", + "shortcode": "8ft0wz", + "status": "succesfully_created", } ❯ test/index.spec.ts:55:24
test/index.spec.ts > Hello World worker > post request url: test/index.spec.ts#L72
AssertionError: expected 400 to be 200 // Object.is equality - Expected + Received - 200 + 400 ❯ test/index.spec.ts:72:27
test/index.spec.ts > Hello World worker > post request url without shortCode: test/index.spec.ts#L89
SyntaxError: Unexpected token 'B', "Bad Request" is not valid JSON ❯ test/index.spec.ts:89:24
🧪 Test
Process completed with exit code 1.