Refactor deploy workflow to include API documentation and update code… #11
Annotations
4 errors
📋 Test:
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": "1xchce",
+ "status": "succesfully_created",
}
❯ test/index.spec.ts:55:24
|
📋 Test:
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:
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.
|
Loading