perf(web): fast path for returning Response
#2309
Annotations
12 errors
test/app.test.ts > app > web > throws error when returning symbol or function (web):
test/app.test.ts#L30
AssertionError: expected 200 to be 500 // Object.is equality
- Expected
+ Received
- 500
+ 200
❯ test/app.test.ts:30:26
|
test/app.test.ts > app > web > Web Stream with Error (web):
test/app.test.ts#L163
AssertionError: expected 200 to be 500 // Object.is equality
- Expected
+ Received
- 500
+ 200
❯ test/app.test.ts:163:24
|
test/app.test.ts > app > web > handles next() call with no routes matching (web):
test/app.test.ts#L219
AssertionError: expected 200 to deeply equal 404
- Expected
+ Received
- 404
+ 200
❯ test/app.test.ts:219:29
|
test/body.test.ts > body > web > fails if json is invalid (web):
test/body.test.ts#L307
AssertionError: expected 200 to be 400 // Object.is equality
- Expected
+ Received
- 400
+ 200
❯ test/body.test.ts:307:27
|
test/errors.test.ts > errors > web > logs errors (web):
test/errors.test.ts#L14
AssertionError: expected 200 to be 422 // Object.is equality
- Expected
+ Received
- 422
+ 200
❯ test/errors.test.ts:14:27
|
test/errors.test.ts > errors > web > returns errors (web):
test/errors.test.ts#L23
AssertionError: expected 200 to be 422 // Object.is equality
- Expected
+ Received
- 422
+ 200
❯ test/errors.test.ts:23:27
|
test/errors.test.ts > errors > web > can send internal error (web):
test/errors.test.ts#L32
AssertionError: expected 200 to be 500 // Object.is equality
- Expected
+ Received
- 500
+ 200
❯ test/errors.test.ts:32:27
|
test/errors.test.ts > errors > web > can send runtime error (web):
test/errors.test.ts#L53
AssertionError: expected 200 to be 400 // Object.is equality
- Expected
+ Received
- 400
+ 200
❯ test/errors.test.ts:53:27
|
test/errors.test.ts > errors > web > can handle errors in promises (web):
test/errors.test.ts#L73
AssertionError: expected 200 to be 500 // Object.is equality
- Expected
+ Received
- 500
+ 200
❯ test/errors.test.ts:73:24
|
test/errors.test.ts > errors > web > can handle returned Error (web):
test/errors.test.ts#L80
AssertionError: expected 200 to be 500 // Object.is equality
- Expected
+ Received
- 500
+ 200
❯ test/errors.test.ts:80:24
|
ci (18)
The job was canceled because "_20" failed.
|
ci (18)
The operation was canceled.
|