feat: use new proxy 🥳 fix #1396 #3286
Annotations
11 errors
src/fetch-spec.test.ts > Fetches specs correctly > Fetches with a proxy:
packages/oas-utils/src/fetch-spec.ts#L32
SyntaxError: Unexpected token 'T', "The `scala"... is not valid JSON
❯ Module.fetchSpecFromUrl src/fetch-spec.ts:32:15
❯ src/fetch-spec.test.ts:16:18
|
src/helpers/sendRequest.test.ts > sendRequest > sends requests through a proxy:
packages/api-client/src/helpers/sendRequest.test.ts#L170
AssertionError: expected '<!DOCTYPE html>\n<html lang="en">\n<h…' to match object { method: 'GET', path: '/' }
- Expected:
Object {
"method": "GET",
"path": "/",
}
+ Received:
"<!DOCTYPE html>
<html lang=\"en\">
<head>
<meta charset=\"utf-8\">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /</pre>
</body>
</html>
"
❯ src/helpers/sendRequest.test.ts:170:53
|
ci (21)
Process completed with exit code 1.
|
ci (20)
The job was canceled because "_21" failed.
|
src/fetch-spec.test.ts > Fetches specs correctly > Fetches with a proxy:
packages/oas-utils/src/fetch-spec.ts#L32
SyntaxError: Unexpected token 'T', "The `scala"... is not valid JSON
❯ Module.fetchSpecFromUrl src/fetch-spec.ts:32:15
❯ src/fetch-spec.test.ts:16:18
|
src/helpers/sendRequest.test.ts > sendRequest > sends requests through a proxy:
packages/api-client/src/helpers/sendRequest.test.ts#L170
AssertionError: expected '<!DOCTYPE html>\n<html lang="en">\n<h…' to match object { method: 'GET', path: '/' }
- Expected:
Object {
"method": "GET",
"path": "/",
}
+ Received:
"<!DOCTYPE html>
<html lang=\"en\">
<head>
<meta charset=\"utf-8\">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /</pre>
</body>
</html>
"
❯ src/helpers/sendRequest.test.ts:170:53
|
ci (20)
Process completed with exit code 1.
|
ci (18)
The job was canceled because "_21" failed.
|
src/fetch-spec.test.ts > Fetches specs correctly > Fetches with a proxy:
packages/oas-utils/src/fetch-spec.ts#L32
SyntaxError: Unexpected token T in JSON at position 0
❯ Module.fetchSpecFromUrl src/fetch-spec.ts:32:15
❯ src/fetch-spec.test.ts:16:18
|
src/helpers/sendRequest.test.ts > sendRequest > sends requests through a proxy:
packages/api-client/src/helpers/sendRequest.test.ts#L170
AssertionError: expected '<!DOCTYPE html>\n<html lang="en">\n<h…' to match object { method: 'GET', path: '/' }
- Expected:
Object {
"method": "GET",
"path": "/",
}
+ Received:
"<!DOCTYPE html>
<html lang=\"en\">
<head>
<meta charset=\"utf-8\">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /</pre>
</body>
</html>
"
❯ src/helpers/sendRequest.test.ts:170:53
|
ci (18)
The operation was canceled.
|